Executables already run their top-level statements as a cooperative root task. run remains available for an explicit nested scheduler scope; it uses the same core task effects and scheduler.
API Reference
Functions
func run(consume root_task: Task) -> ()
Runs root_task and every task it spawns in a nested cooperative scope.