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.

method libtmux-rs latest

DispatchLimits.acquire_timeout

How long a dispatch waits for a permit before giving up.

Source and package
Qualified name
libtmux::limits::DispatchLimits::acquire_timeout
Module
limits
Declared in
DispatchLimits
Package
libtmux
Source
crates/libtmux/src/limits.rs
#[must_use] pub const fn acquire_timeout( self, timeout: Option<Duration> ) -> Self

Description#

None waits as long as the dispatch's own deadline allows. A value may shorten that wait but never extends the dispatch deadline. It makes overload distinguishable from slowness: Error::Overloaded says the server never started the work, so retrying it is safe.

Parameters
Esc

Type to search.

Reference previewOpen reference