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.

MoreLess about this notice

property libtmux

Server.timeout

Default timeout in seconds for commands and listings on this server.

Source and package
Qualified name
libtmux.Server.timeout
Module
libtmux
Declared in
Server
Package
libtmux
Source
src/libtmux/server.py
timeout (self) → float | None (self, value: float | None) → None

Description

None waits indefinitely. Assigning a new value validates that it is None or a positive finite int or float. Individual cmd() calls can override this default, including back to None.

Parameters

Examples

>>> srv = Server(timeout=2.5)
>>> srv.timeout
2.5
>>> srv.timeout = None
>>> srv.timeout is None
True
Esc
Search in

Type to search.

Reference previewOpen reference