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

Go API

Go documentation

tmux.Server.IsAlive

View as Markdown

Module
tmux
Declared in
Server
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/server.go
Other languages
Python Ruby Lua TypeScriptRustJava.NETC++Swift
IsAlive ( ctx : context.Context ) → (bool, error)
method [source]
method [source]
IsAlive

IsAlive reports whether a tmux server answers on the configured socket. Only an absent server reports false without an error: a socket that exists but cannot be reached, such as one the process may not read, is a question that could not be answered and is returned as an error. Use Server.CheckAlive where an absent server is itself the failure.

Discussed in Socket and servers

In other ports Whether the server is running

0 declared, 0 inherited

Esc

Type to search.