Skip to main content

sleep_ms

Function sleep_ms 

Source
pub fn sleep_ms(ctx: &ServiceContext, ms: u64)
Expand description

Sleep for ms milliseconds.

Read the module header before reaching for this: if something else could tell you when to wake, waiting for THAT is both faster and correct on a machine you have not tried yet.