Interface StreamHandle<T>
- Type Parameters:
T- stream item type
- All Superinterfaces:
AutoCloseable
Backpressure-aware stream handle.
-
Method Summary
-
Method Details
-
poll
-
cancel
void cancel()Requests stream cancellation. -
closed
boolean closed()Returns whether the stream is closed.- Returns:
- whether the stream is closed
-
close
void close()- Specified by:
closein interfaceAutoCloseable
-