Advanced
Swift
Q60 / 100
What is structured concurrency in Swift 5.5+?
Correct! Well done.
Incorrect.
The correct answer is B) A concurrency model where tasks have lifetimes scoped to parent tasks, preventing leaks and ensuring cancellation propagates
B
Correct Answer
A concurrency model where tasks have lifetimes scoped to parent tasks, preventing leaks and ensuring cancellation propagates
Explanation
Swift structured concurrency (async let, TaskGroup) guarantees all child tasks complete before the parent exits, making cancellation, error propagation, and cleanup deterministic.
Progress
60/100