Function silkenweb::task::scope

source ·
pub fn scope<Fut>(f: Fut) -> impl Future<Output = Fut::Output>
where Fut: Future,
Expand description

Run a future in a context.

The context includes silkenweb_task::scope and various task locals required for Silkenweb. This is not neccessary on browser platforms, and is a no-op.