# control.ControlSender.reply_timeout

- **Module:** control.ControlSender
- **Package:** libtmux
- **Language:** Rust
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/control.rs#L705
- **Page:** https://libtmux.org/en/rs/latest/reference/control-controlsender-reply_timeout/

```
control.ControlSender.reply_timeout(self, timeout: Duration) -> Self
```

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.
