-
- Type Parameters:
E- the event type
- All Known Subinterfaces:
EventSubscriber<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 EventConsumer<E>
A functional interface representing an object that can handle a given type of event.- Since:
- 1.0.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidon(E event)Invokes this event consumer.
-