Interface ObserverMethodConfigurator.EventConsumer<T>
- Type Parameters:
T
- event type
- Enclosing interface:
- ObserverMethodConfigurator<T>
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Represents an operation that accepts a context of a fired event.
- Author:
- Martin Kouba
- See Also:
-
Method Summary
-
Method Details
-
accept
- Parameters:
eventContext
- theEventContext
used to fire the event- Throws:
Exception
- The thrown checked exception is wrapped and rethrown as an (unchecked)ObserverException
-