pub fn scope<F: Future>(
ctx: CallContext,
fut: F,
) -> impl Future<Output = F::Output>Expand description
Run fut inside ctx: how a task a method spawns carries its caller.
pub fn scope<F: Future>(
ctx: CallContext,
fut: F,
) -> impl Future<Output = F::Output>Run fut inside ctx: how a task a method spawns carries its caller.