Skip to main content

TIMEOUT_SUFFIX

Constant TIMEOUT_SUFFIX 

Source
pub const TIMEOUT_SUFFIX: &str = ":timeout";
Expand description

Suffix of the deadline timer an await_signal with timeout_ms reserves beside its signal step: signal x races timer x:timeout. Whichever settles first closes the other as cancelled, so the reducer only ever sees the winner.