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

types.ConnectedServer

TypeScript
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
types
Package
libtmux
Source
packages/libtmux/src/types.ts
interface types.ConnectedServer
interface [source]
interface [source]
interface types.ConnectedServer

A server with a persistent observation connection and daemon-lifetime tracking.

Commands use the ordinary command engine. Disposing it closes the observation connection and leaves the tmux server and its resources running.

6 declared, 0 inherited

Members

  • waitFor method Resolve once the server satisfies matches, or reject on timeout.
  • subscribeFormat method Report a format whenever tmux expands it to a new value.
  • [Symbol.asyncDispose] method
  • close method End the connection. Safe to call more than once.
  • subscribe method Open an independent view of the notifications arriving on this connection.
  • unsubscribeFormat method Stop reporting a subscription. Unknown names are accepted.
Esc

Type to search.