On this page
io.github.libtmux.WakeReason.WakeReason
- 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.
<p>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.