pub async fn sleep(duration: Duration)
Sleep for the given duration.
use std::time::Duration; moduvex_runtime::block_on(async { moduvex_runtime::sleep(Duration::from_millis(100)).await; });