Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

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

property libtmux-dotnet latest

ServerConnectionOptions.CommandTimeout

Namespace LibTmux.ServerConnectionOptions.CommandTimeout LibTmux

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

View as Markdown

Source and package
Module
LibTmux
Declared in
ServerConnectionOptions
Package
LibTmux
Source
src/LibTmux/Connection/TmuxConnectionOptions.cs
CommandTimeout : TimeSpan?
property [source]

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

Type to search.