libtmux Reference MCP Search
On this page

tmux.PaneObservation.NextNotification

View as Markdown

Module
tmux
Declared in
PaneObservation
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/control_observation.go
NextNotification ( ctx : context.Context ) (ControlNotification, error)
method [source]
method [source]
NextNotification

NextNotification returns the next notification strictly after the pane baseline, from the whole connection rather than this pane alone. Notifications queued before that boundary are discarded. Concurrent calls are serialized. Caller context errors and ControlNotificationError affect only one call. Explicit close returns an error matching os.ErrClosed.

Topology loss, natural stream EOF, and terminal reader errors return ErrPaneObservationLost. Stream failures preserve their cause. Later calls return that loss without consuming more notifications.

0 declared, 0 inherited

Esc

Type to search.