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-rs latest

ControlMode.next_event

Return the next notification or terminal error, then None.

Source and package
Qualified name
libtmux::control::ControlMode::next_event
Module
control
Declared in
ControlMode
Package
libtmux
Source
crates/libtmux/src/control.rs
pub async fn next_event(&mut self) -> Option< Result<Event, Error> >

Description#

See ControlEvents::next_event() for termination.

Cancel safety

Nothing happened: a dropped call consumes no event.

Esc

Type to search.

Reference previewOpen reference