| Constructor and Description |
|---|
EventConsumer(Consumer<T> delegate)
Creates a new
EventConsumer that will pass event data to the given delegate. |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(Event<T> ev)
Execute the logic of the action, accepting the given parameter.
|