Interface LifecycleEventHandler<E extends LifecycleEvent>

Type Parameters:
E - the event
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@Experimental @NullMarked @FunctionalInterface public interface LifecycleEventHandler<E extends LifecycleEvent>
A handler for a specific event. Can be implemented in a concrete class or as a lambda.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(E event)
     
  • Method Details

    • run

      void run(E event)