Package io.servicetalk.client.api
Interface ConsumableEvent<T>
-
- Type Parameters:
T
- The type of event.
- All Known Implementing Classes:
IgnoreConsumedEvent
public interface ConsumableEvent<T>
A container for an event that requires acknowledgement when the event is consumed viaeventConsumed()
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
event()
Get the event.void
eventConsumed()
Signify theevent()
has been consumed and any side effects have taken place.
-