Skip to main content

WRITE_TIMEOUT

Constant WRITE_TIMEOUT 

Source
pub const WRITE_TIMEOUT: Duration;
Expand description

Default bound on a single frame write.

This client is blocking by design — a TUI renders on one thread and the marker must follow that render’s last byte — so an unbounded write_all turns a driver that stopped reading into an application that stopped drawing. A driver that cannot take a frame in a quarter of a second is not keeping up, and the next frame carries newer state anyway.