Skip to main content

sleep

Function sleep 

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

Waits for a specified amount of time to pass.

This function is an async version of std::thread::sleep. It creates a future that will complete after the given duration has elapsed, without blocking the cFS task.