Control
Owns an attached Java control client. Canceling one call interrupts only its caller. A deadline after dispatch or releasing this resource can end the attachment and its queued requests and observations. Use separate attachments when those lifetimes must be independent.
Source and package
- Qualified name
-
io.github .libtmux .scaladsl .cats. Control - 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/Control.scala
-
- Type parameters
-
-
FforControl() [overload 1]
-
Members11 members
Common operations9
- acknowledge method Reads one raw reply without claiming deferred command completion. Cancellation does not prove that tmux rolled back a dispatched command. The timeout starts after Scala admission; an effect timeout can bound the whole call.
- attachUnfenced method Attaches lazily to whatever server now answers this endpoint, without an incarnation guard; prefer attaching a captured session. Bounds simultaneous acknowledgement calls. Release stops their owned work before detaching the client and preserves the tmux daemon.
- events method Registers Java's typed notifications, including unknown event kinds.
- isAlive method Whether this attachment's process is still running.
- output method Registers decoded text output before the returned resource body runs. Terminal bytes and character boundaries are not preserved by Java.
- standardError method Error text from this control process, at most 4096 bytes.
- standardErrorTruncated method Whether
standardErrorstopped before the process finished writing. - unwatch method Removes a watch registered under
name. - watch method Asks tmux to report
formatwhen it changes. A target that does not name a pane or window watches the attached session.