Subscription.next
Await one event, defaulting to a one-second deadline. None follows a consumed End. A deadline keeps the subscription active. Eio cancellation closes it, releases its lane when unused, and propagates.
Source and package
- Qualified name
-
Libtmux_eio .Subscription. next - Module
- Libtmux_eio
- Declared in
Subscription- Package
- libtmux-eio
- Source
- eio/libtmux_eio.mli
- val next : ?timeout:float -> t -> (Libtmux
.Output option, Libtmux.event .Error ) result.t -
Public owner:
Libtmux_eio