libtmux Reference MCP Search
On this page

tmux.ControlClient.NextNotification

View as Markdown

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

NextNotification returns the next ordered control-mode notification. Exactly one caller may execute it at a time. Natural process exit preserves queued notifications until they drain through io.EOF; Close releases the queue and makes subsequent reads report os.ErrClosed. A terminal reader error follows notifications queued before that failure. A full bounded queue likewise drains before reporting ControlNotificationOverflowError .

0 declared, 0 inherited

Esc

Type to search.