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.

property libtmux-ts latest

ServerOptions.timeoutMs

Default deadline, in milliseconds, for every command this server runs: 30 seconds unless set. null removes it, so commands wait as long as tmux takes.

Source and package
Qualified name
ServerOptions.timeoutMs
Module
server
Declared in
ServerOptions
Package
libtmux
Source
packages/libtmux/src/server.ts

Description#

Must be a positive timer-safe integer or null. A single call can override it either way. Commands that wait on a person — display-popup, display-menu, command-prompt, confirm-before, display-panes and wait-for — get no default, since bounding them would cut the person off; a deadline passed on the call itself still applies to them.

Esc

Type to search.

Reference previewOpen reference