sleep

Function sleep 

Source
pub async fn sleep(duration: Duration)
Expand description

This is the wasm version of the sleep function. For now it is the only way to sleep. The precision of this function is 1ms.