Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardSwiftstructured concurrency task treesSingle-choice MCQ

When you create a child task with `async let`, how does the structured concurrency runtime guarantee the child cannot outlive its parent scope?

func parent() async { async let a = compute() // ... never reads `a`, never awaits }