Interface EventSubscriber<E>

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

    @FunctionalInterface
    public interface EventSubscriber<E>
    extends EventConsumer<E>
    A functional interface representing an object that can handle a given type of event.
    Since:
    1.0.0