Skip to main content

DEFAULT_STRING_IDLE_TIMEOUT

Constant DEFAULT_STRING_IDLE_TIMEOUT 

Source
pub const DEFAULT_STRING_IDLE_TIMEOUT: Duration;
Expand description

Default idle timeout for a streamed control string.

After Event::StringStart, two seconds without input ends the string with StringEnd { complete: false }. Retained bytes precede that event.