Function scope

Source
pub fn scope<'scope, Op, R>(op: Op) -> R
where Op: FnOnce(&Scope<'scope, '_>) -> R,
Expand description

A wrapper around [rayon::in_place_scope] that preserves the turbo_tasks_scope.