Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-go latest

NotificationStream.Next

Next returns the next ordered control-mode notification. Concurrent calls are serialized: each notification goes to exactly one call, and a call waiting its turn returns when ctx ends.

Source and package
Qualified name
tmux.NotificationStream.Next
Package
tmux
Declared in
NotificationStream
Distribution
github.com/libtmux/libtmux-go/tmux
Source
tmux/notification_stream.go

Description#

A stream that has ended reports why: see NotificationStream for the errors to match. A caller that wants to treat every end alike writes errors.Is(err, ErrControlClosed).

Parameters
Esc

Type to search.

Reference previewOpen reference