On this page
tmux.ControlClient.NextNotification
- Module
- tmux
- Declared in
- ControlClient
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/control_stream.go
- NextNotification ( ctx : context.Context ) (ControlNotification, error)
-
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