On this page
types.ConnectedServer
- Module
- types
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/types.ts
-
A server bound to one control-mode connection.
Same API as
Server, with its commands travelling over the open connection rather than a process per call. Disposing it ends the connection.
6 declared, 0 inherited
Members
- [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.
- subscribeFormat method Report a format whenever tmux expands it to a new value.
- unsubscribeFormat method Stop reporting a subscription. Unknown names are accepted.
- waitFor method Resolve once the server satisfies
matches, or reject on timeout.