Async await is part of the new structured concurrency changes that
arrived in Swift 5.5 during WWDC 2021. Concurrency in Swift means
allowing multiple pieces of code to run at the same time. This is a
very simplified description, but it should give you an idea already
how important concurrency in Swift is for the performance of your
apps. With the new async methods and await statements, we can define
methods performing work asynchronously.
You might have read about the Swift Concurrency Manifesto by Chris
Lattner
before, which was announced a few years back. Many developers in the
Swift community are excited about the future to come with a
structured way of defining asynchronous code. Now that it’s finally
here, we can simplify our code with async-await and make our
asynchronous code easier to read.