Understanding Swift 5.5 Task Groups

Create child tasks and gather results effectively in your iOS modules

Lee Kah Seng
Better Programming
Published in
5 min readOct 27, 2021

--

Photo by Element5 Digital on Unsplash

Apple introduced task groups in Swift 5.5 as one of the essential parts in the Swift concurrency framework. As the name implies, a task group is a collection of child tasks that run concurrently, and it only returns when all of its child tasks finish executing.

--

--