io.github.libtmux.WakeReason.WakeReason
Java
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- io.github.libtmux.WakeReason
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/WakeReason.java
-
Why a wait on a tmux channel ended.
An enum rather than a boolean, and rather than nothing at all, because tmux's own
wait-forcannot distinguish these: it exits successfully both when the channel is signalled and when the server dies underneath the waiter.Discussed in Waiting and retrying
3 declared, 0 inherited
Members
- SERVER_GONE constant The server is gone. tmux reports this as a successful wake, so it is checked for rather than believed; a caller cannot rely on anything the wait was guarding.
- SIGNALLED constant The channel was signalled.
- TIMED_OUT constant Nothing signalled the channel before the caller's deadline.