The Power of Tasks in Swift: Concurrency Made Easy
Take it to the task!
11 min readMay 3, 2023
Tasks are part of Swift’s new concurrency model introduced way back in 2021. Essentially a Task allows us to create a concurrent environment from a non-concurrent method. That is we can call async
APIs in order to perform work in the background giving us a safe way to manage concurrency.