method libtmux-scala latest
Flows.subscription
One Flow element per step: an event this subscription kept, or a gap naming what was lost. Collecting the flow takes the subscription for good, through the Java subscription's own single-reader claim, and closes it when the collection ends. A second collection is refused as it starts, before it can disturb the first. The flow fails with the control client's cause if the client ended the subscription.
Source and package
- Module
- io.github.libtmux.scaladsl.ox
- Declared in
- Flows
- Package
- io.github.libtmux:libtmux-scala_3
- Source
- libtmux-scala-ox/src/main/scala/io/github/libtmux/scaladsl/ox/Flows.scala
- Scala method declarations Declares a method, with its name, parameter lists and return type. Language documentation subscription[T](sub: Event
Subscription [T]): Flow[Delivery[T]] -
- Parameters
-
-
sub ( Event
Subscription [T] )
-