libtmux Reference MCP Search
On this page

tmux.NotificationStream

View as Markdown

Module
tmux
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/notification_stream.go
struct tmux.NotificationStream
struct [source]
struct [source]
struct tmux.NotificationStream

NotificationStream owns one observation-only control client attached to a session. It yields tmux notifications in wire order and must be closed. Before tmux 3.6, destroying the attached session follows that session's detach-on-destroy policy and may end the stream.

4 declared, 0 inherited

Members

  • Close method Close stops the notification stream. It is safe to call concurrently and more than once.
  • CloseContext method CloseContext starts idempotent stream shutdown and waits within ctx. The context bounds only the wait; a later call may resume waiting for shutdown.
  • ContinuePane method ContinuePane resumes pane output tmux held after this stream fell behind on it. tmux does not replay what it held, so read the pane to recover that span rather than waiting for it. Resuming a pane tmux never paused does nothing and reports nothing, because tmux answers neither.
  • Next method Next returns the next ordered control-mode notification. Exactly one caller may use Next at a time.
Esc

Type to search.