Core LibraryAPI Reference

Choose documentation 1

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

class libtmux-scala latest

LiveServer

Package io.github.libtmux.scaladsl.cats.LiveServer io.github.libtmux.scaladsl.cats

Observe a tmux server through a continuously updated signal .

View as Markdown

Source and package
Module
io.github.libtmux.scaladsl.cats
Package
io.github.libtmux:libtmux-scala_3
Source
libtmux-scala-cats/src/main/scala/io/github/libtmux/scaladsl/cats/LiveServer.scala
final class LiveServer[F[_]]object LiveServer
class [source]

Description#

LiveServer.attach returns a Resource that closes the Java ServerMirror when released. Read failure to distinguish a quiet server from a stopped poller.

Discussed in Compatibility

Members3 members#

Other 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 is ServerMirror 's own reconnect-or- TargetGoneException policy, surfaced through LiveServer#failure like any other cause.
  • failure method None while still live; Some(cause) once the background poller has died. Never blocks.
  • signal property
Esc

Type to search.