# control.ControlMode.next_event

- **Module:** control.ControlMode
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/8a648c0894dfffc9303583f753b6c8ae01f2fe76/crates/libtmux/src/control.rs#L532
- **Page:** https://libtmux.org/reference/rs/control-controlmode-next_event/

```
control.ControlMode.next_event(mut) -> Option<Event>
```

Return the next notification, or `None` once the connection closes.
