Skip to main content

thread_sleep_ns

Function thread_sleep_ns 

Source
pub fn thread_sleep_ns(nanoseconds: u64) -> Void
Expand description

Sleeps the current thread for the specified number of nanoseconds.

ยงArguments

  • nanoseconds - Number of nanoseconds to sleep