pub async fn await_suspense<U>(cx: Scope<'_>, f: impl Future<Output = U>) -> U
Expand description

Waits until all suspense tasks created within the scope are finished. If called inside an outer suspense scope, this will also make the outer suspense scope suspend until this resolves.