Function zng_task::yield_now

source ยท
pub async fn yield_now()
Expand description

A future that is Pending once and wakes the current task.

After the first .await the future is always Ready and on the first .await it calls wake.