wait_for_idle

Function wait_for_idle 

Source
pub async fn wait_for_idle()
Expand description

Wait until there are no more operations to be performed now on the current thread.

The “operations to be performed now” include not only tasks spawned by spawn_local, but also events handled by the runtime backend.