On this page
server.Server.isAlive
- Module
- server
- Declared in
- Server
- Package
- @libtmux/libtmux
- Source
- packages/libtmux/src/server.ts
- Other languages
- PythonRustGoJava.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 languages Whether the server is running
0 declared, 0 inherited