Package me.neznamy.tab.api.event
Interface EventHandler<E>
- Type Parameters:
E- the type of event this handler handles
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A handler for an event. This allows listening for events in a more
functional style.
-
Method Summary
-
Method Details
-
handle
Called when the given event is fired from an event bus.- Parameters:
event- the event to handle
-