libtmux Reference MCP Search
On this page

server.Server.isAlive

View as Markdown

Module
server
Declared in
Server
Package
@libtmux/libtmux
Source
packages/libtmux/src/server.ts
Other languages
PythonRustGoJava.NETC++Swift
isAlive ( ) Promise<boolean>
method [source]
method [source]
isAlive

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

Esc

Type to search.