EventSubscription.stream
The steps still to come, in order, each read by the thread consuming the stream.
Source and package
- Qualified name
-
io.github .libtmux .control .Event Subscription. stream - Package
- io.github.libtmux.control
- Declared in
EventSubscription- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/control/EventSubscription.java
- @Operation(Kind
.STREAM ) public java.util <Delivery<T>> stream().stream .Stream -
Description
Pull-only: a step is read when the stream asks for one, and events that arrive meanwhile wait in this subscription's buffer, so its capacity alone decides what becomes a
Delivery.Gap. The stream ends when this subscription closes. When the control client ended it, the stream fails with#cause(). Closing the stream closes this subscription, and closing this subscription from another thread ends a stream that is waiting.- Type parameters
-
-
Tdeclared byEventSubscription<T>the event type
-
- Errors
-
-
io
.github – from the stream if the reading thread is interrupted; its interrupt status is set again.libtmux .exception .Lib Tmux Exception
-
Recorded calls
source callsThe Java reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls io.github.libtmux.control.EventSubscription.stream.