server.Server.isAlive
- Module
- server
- Declared in
- Server
- Package
- libtmux
- Source
- packages/libtmux/src/server.ts
- Other languages
- Python Ruby Lua RustGoJava.NETC++Swift
-
Whether the tmux server is reachable.
A missing daemon, socket, or tmux executable answers false. Cancellation, a command deadline, or an engine programming error still raises: none says whether the server is alive.
Examples
if (await server.isAlive()) {await server.snapshot();}Discussed in Socket and servers
In other ports Whether the server is running
- Python
libtmux.Server.is_alive - Ruby No source-verified Ruby equivalent is recorded for this operation.
- Lua No source-verified Lua equivalent is recorded for this operation.
- Rust
server.Server.is_alive - Go
tmux.Server.IsAlive - Java
io.github.libtmux.Server.Server.isAlive - .NET
LibTmux.Server.IsAliveAsync - C++
libtmux::Server::is_alive - Swift
Server.isRunning()
- Python
0 declared, 0 inherited