- Type Parameters:
T
- the event type
- All Superinterfaces:
AutoCloseable
- All Known Subinterfaces:
SseSink
A generic sink interface to emit arbitrary events.
-
Method Summary
Methods inherited from interface java.lang.AutoCloseable
close
-
Method Details
-
emit
Emits an event using to the sink.- Parameters:
event
- the event to emit- Returns:
- this sink
-