LibTmux.ServerConnectionOptions.CommandTimeout
.NET
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET
- C++ Unavailable
- Swift Unavailable
- Module
- LibTmux
- Declared in
- ServerConnectionOptions
- Package
- LibTmux
- Source
- src/LibTmux/Connection/TmuxConnectionOptions.cs
-
Gets how long one tmux command may run, or null to wait indefinitely.
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
TmuxTransportExceptionwhoseDispatchisUnknown: 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.
0 declared, 0 inherited