# tmux.NotificationStream.Next

- **Module:** tmux.NotificationStream
- **Package:** github.com/libtmux/libtmux-go/tmux
- **Language:** Go
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-go/blob/52968a3181c1c9e6d1b26c565d4b170968ae61c0/tmux/notification_stream.go#L242
- **Page:** https://libtmux.org/en/go/latest/reference/tmux-notificationstream-next/

```
tmux.NotificationStream.Next(ctx: context.Context) -> (ControlNotification, error)
```

Next returns the next ordered control-mode notification. Exactly one caller may use Next at a time.
