class libtmux-scala
LiveServer
Observe a tmux server through a continuously updated signal.
Source and package
- Qualified name
-
io.github .libtmux .scaladsl .cats. Live Server - Package
- io.github.libtmux.scaladsl.cats
- Distribution
- io.github.libtmux:libtmux-scala_3
- Source
- libtmux-scala-cats/src/main/scala/io/github/libtmux/scaladsl/cats/LiveServer.scala
-
Description
LiveServer.attachreturns aResourcethat closes the JavaServerMirrorwhen released. Readfailureto distinguish a quiet server from a stopped poller.- Type parameters
-
-
FforLiveServer() [overload 1]
-
Members3 members
- attach method Listens through a control client attached to
anchor, rebuilding on every announcement. The session is a required parameter: there is no arbitrary pick left to make, and a session that later disappears isServerMirror's own reconnect-or-TargetGoneExceptionpolicy, surfaced throughLiveServer#failurelike any other cause. - failure method
Nonewhile still live;Some(cause)once the background poller has died. Never blocks. - signal property
Guides
task materialPages that discuss LiveServer.