Episode #509

Concurrent For Loops with Task Groups

Series: Async / Await

8 minutes
Published on November 4, 2021

This video is only available to subscribers. Get access to this video and 572 others.

In this episode we will see how we can run tasks concurrently with concurrent for loops, which is useful when the number of items you want to process is dynamic. With Task Groups you can process results asynchronously and assemble the results in a safe way.

This episode uses Xcode 13.0, Swift 5.5.