PaneObservation.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 ErrControlClosed and os.ErrClosed.
Source and package
- Qualified name
-
tmux.Pane Observation. Next Notification - Package
- tmux
- Declared in
PaneObservation- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/control_observation.go
- func (o *Pane
Observation ) NextNotification( ctx context.Context , ) (ControlNotification , error) -
Description#
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.- Parameters