Skip to main content

intercept_sleep

Function intercept_sleep 

Source
pub fn intercept_sleep(ms: u64) -> bool
Expand description

A sealed sleep advances logical time INSTANTLY — the statement that turns a timeout test into a microsecond assertion. Returns true when handled.