Skip to main content

sleep

Function sleep 

Source
pub fn sleep(duration: Duration) -> Sleep ⓘ
Expand description

Waits for duration of game time without holding up other tasks.