T
- The type of event.public interface ConsumableEvent<T>
eventConsumed()
.Modifier and Type | Method and Description |
---|---|
T |
event()
Get the event.
|
void |
eventConsumed()
Signify the
event() has been consumed and any side effects have taken place. |