- Type Parameters:
E
- the element type
- All Known Implementing Classes:
ObserverDescriptor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The listener of an event subscriber to be fed with events by a event
publisher.
-
Method Summary
-
Method Details
-
onEvent
The listener implementing this interface is notified of an event via this method. The publisher pushes the event to the subscriber.- Parameters:
aEvent
- aEvent The event to be pushed from the publisher to the subscriber.
-