Module scope

Source
Expand description

A scoped tokio spawn implementation that allow a non-’static lifetime for tasks.

Structs§

Scope
Scope to allow spawning tasks with a limited lifetime.

Functions§

scope_and_block
Helper method to spawn tasks in parallel, ensuring that all tasks are awaited and errors are handled. Also ensures turbo tasks and tracing context are maintained across the tasks.