Server.OpenNotifications
OpenNotifications starts an owned observation-only stream attached to session. Session must belong to the same configured server selector. A connection-bound server returns ErrConnectionRequiresProcess.
Source and package
- Qualified name
-
tmux.Server. Open Notifications - Package
- tmux
- Declared in
Server- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/notification_stream.go
- func (s Server) OpenNotifications( ctx context
.Context , session Session, options NotificationOptions , ) (*NotificationStream , error) -
Description#
The stream starts at tmux's present and holds nothing from before it opened. When it ends or overflows it cannot be resumed; open another, as described on
NotificationStream, and arm its subscriptions again.- Parameters
tmux command#
The tmux commands behind OpenNotifications.
tmux C API#
The C declarations in tmux that implement these commands.