libtmux Reference MCP Search
On this page

io.github.libtmux.WakeReason.WakeReason

View as Markdown

Module
io.github.libtmux.WakeReason
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/WakeReason.java
enum io.github.libtmux.WakeReason.WakeReason
enum [source]
enum [source]
enum io.github.libtmux.WakeReason.WakeReason

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-for cannot 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.
Esc

Type to search.