EventSubscription.poll
Returns the next step if one is waiting, without blocking.
Source and package
- Qualified name
-
io.github .libtmux .control .Event Subscription. poll - Package
- io.github.libtmux.control
- Declared in
EventSubscription- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/control/EventSubscription.java
-
- Type parameters
-
-
Tdeclared byEventSubscription<T>the event type
-
- Returns
-
the next gap or event, or empty when none is buffered; after the subscription has ended, empty once what it held is read
- Errors
-
-
Illegal
State – if another read is in progress, or a stream or publisher owns this subscriptionException
-
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.poll.
Guides
task materialPages that discuss poll.