Function ambient_api_core::global::sleep

source ·
pub async fn sleep(seconds: f32)
Expand description

Stops execution of this function until seconds has passed.

This must be used with .await in either an async fn or an async block.