Function await_suspense_current
pub async fn await_suspense_current()
Expand description
Waits until all suspense task in current scope are completed.
Does not create a new suspense scope.
If not called inside a suspense scope, the future will resolve immediately.