Skip to main content

Module task_scope

Module task_scope 

Source
Expand description

Task-scoped cancellation accounting for spawned asynchronous descendants.

Functionsยง

scope_tasks
Runs an operation in a task scope and waits for cancelled descendants to finish dropping.
spawn_tracked
Spawns work tracked by the current task scope.