Core Library0.xAPI Reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

method libtmux-rs latest

Server.is_alive

Report whether a tmux daemon is answering at this endpoint.

Source and package
Qualified name
libtmux::server::Server::is_alive
Module
server
Declared in
Server
Package
libtmux
Source
crates/libtmux/src/server.rs
Other languages
Perl Erlang PowerShell Julia Elixir Haskell Common Lisp Python Ruby Lua TypeScriptGoJavaC#C++Swift Kotlin Scala OCaml F# Clojure
pub async fn is_alive(&self) -> bool

Description#

Every failure becomes false, including a missing executable. Use Server::check_alive() when the difference matters.

Guides#

Pages that discuss is_alive.

In other ports#

Whether the server is running

Equivalents of Whether the server is running in other languages
Language Equivalent
Python libtmux.Server.is_alive
Haskell No public Haskell equivalent is implemented; the current modules expose scalar values and version parsing.
TypeScript server.Server.isAlive
Go tmux.Server.IsAlive
Java io.github.libtmux.Server.isAlive
C# LibTmux.Server.IsAliveAsync
C++ libtmux::Server::is_alive
Swift Server.isRunning()
OCaml No direct public OCaml equivalent is recorded for this operation.
Perl Explicit snapshot acquisition returns observed data or a typed failure; operational failures are not converted to false.

No equivalent is recorded in Ruby, Lua, PowerShell, Julia, Erlang, Elixir, Common Lisp, Clojure, Kotlin, Scala or F#.

Esc

Type to search.

Reference previewOpen reference