Channel.await
Waits for something to signal the channel.
Source and package
- Qualified name
-
io.github .libtmux .Channel. await - Package
- io.github.libtmux
- Declared in
Channel- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Channel.java
- @Operation(Kind
.WAIT ) public WakeReason await(Duration timeout) throws InterruptedException -
- Parameters
- Returns
-
why the wait ended, which is never simply "successfully"
- Raises
-
-
Interrupted
Exception – if the waiting thread is interrupted, which is a cancellation rather than a timeout and so is not reported as one
-
tmux command#
The tmux commands behind await.
tmux C API#
The C declarations in tmux that implement these commands.