Intermediate
Swift
Q44 / 100
What is a TaskGroup in Swift concurrency?
Correct! Well done.
Incorrect.
The correct answer is B) A structured group of concurrent child tasks that can add tasks dynamically and collect results
B
Correct Answer
A structured group of concurrent child tasks that can add tasks dynamically and collect results
Explanation
withTaskGroup(of: Int.self) { group in group.addTask { await fetchValue() } } manages concurrent tasks with structured lifetimes.
Progress
44/100