The Power of Tasks in Swift: Concurrency Made Easy

Take it to the task!

Steven Curtis

--

Photo by Kelly Sikkema on Unsplash

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.

--

--