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

control.ControlSender.reply_timeout

Rust
  • Python Unavailable
  • TypeScript Unavailable
  • Rust
  • Go Unavailable
  • Java Unavailable
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
control
Declared in
ControlSender
Package
libtmux
Source
crates/libtmux/src/control.rs
reply_timeout ( self , timeout : Duration ) → Self
method [source]
method [source]
reply_timeout

Set how long a command waits for its result block.

The default is the server's default_timeout, which also bounds the opening handshake. Those two are not comparable: attaching forks tmux and waits for a server to answer, where a command is a round trip on a connection that is already open. Set this when a command should give up sooner than attaching was allowed to take.

The deadline covers the whole call, so a command large enough to be worth serializing spends part of its own budget being written.

0 declared, 0 inherited

Esc

Type to search.