effect 'spawn(task: Task) -> ()Adds task to the nearest cooperative scheduler scope.
The operation returns after scheduling, not after task completion. Structured scope ownership guarantees the scheduler itself does not return until spawned descendants finish.
View Source
pub effect 'spawn(task: Task) -> ()