On this page
tmux.PaneObservation.NextNotification
- Module
- tmux
- Declared in
- PaneObservation
- Package
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/control_observation.go
- NextNotification ( ctx : context.Context ) (ControlNotification, error)
-
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
ControlNotificationErroraffect only one call. Explicit close returns an error matchingos.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