Function scope_async_local

Source
pub async fn scope_async_local<'env, R>(
    f: impl for<'r> FnOnce(&'r Scope<'env>) -> LocalBoxFuture<'r, R>,
) -> R
Expand description

Same as scope_async but here f returns a LocalBoxFuture instead.