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

server.Server.raiseIfDead

TypeScript

View as Markdown

Module
server
Declared in
Server
Package
libtmux
Source
packages/libtmux/src/server.ts
Other languages
Python Ruby Lua Rust GoJava.NET C++ Swift
raiseIfDead ( ) → Promise<void>
method [source]
method [source]
raiseIfDead

Assert the server is reachable, raising with tmux's reason if not.

Examples

await server.raiseIfDead(); // throws when no tmux server is listening

Discussed in Socket and servers

In other ports Fail unless the server is answering

0 declared, 0 inherited

Esc

Type to search.