Server.raiseIfDead
Assert the server is reachable, raising with tmux's reason if not.
Source and package
-
Examples#
await server.raiseIfDead(); // throws when no tmux server is listening
Guides#
Pages that discuss raiseIfDead.
In other ports#
Fail unless the server is answering
| Language | Equivalent |
|---|---|
| Python | libtmux |
| Rust | no equivalent on Server |
| Go | tmux |
| Java | io |
| C# | Lib |
| C++ | no equivalent on Server |
| Swift | no equivalent on Server |
No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Elixir, Kotlin, Scala or F#.