Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

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

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.

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.