libtmux Reference MCP Search
On this page

types.TmuxEventStream

View as Markdown

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

A live stream of tmux control-mode events.

Async iterable and async disposable, so await using ends the connection on scope exit even when the loop throws. The events are consumed, not replayed, so a stream is iterated once.

5 declared, 0 inherited

Members

  • [Symbol.asyncDispose] method
  • close method End the connection. Safe to call more than once.
  • find method Resolve with the first event matches accepts, or undefined if the deadline passes or the stream is closed first.
  • ready method Resolve once tmux has accepted the current attach, or reject with its reason.
  • dropped property Events discarded because the consumer fell behind.
Esc

Type to search.