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-dotnet

ServerConnectionOptions.CommandTimeout

Gets how long one tmux command may run, or null to wait indefinitely.

Source and package
Qualified name
LibTmux.ServerConnectionOptions.CommandTimeout
Namespace
LibTmux
Declared in
ServerConnectionOptions
Package
LibTmux
Source
src/LibTmux/Connection/TmuxConnectionOptions.cs
CommandTimeout : TimeSpan?

Description

A tmux that stops answering otherwise hangs the caller until its own cancellation token fires, and forever if it passed none. On expiry the command throws TmuxTransportException whose Dispatch is TmuxDispatchState.Unknown: tmux may already have acted. A caller's own cancellation still wins, and reads as cancellation. Connecting is bounded by it too: reading the version and the server's generation are tmux commands like any other. A wait-for that waits for a signal or a lock is not: it waits for another client by design.

Esc
Search in

Type to search.

Reference previewOpen reference