Adding async/await support to your current async code base API’s
In the latest WWDC 2021, Apple has introduced in Swift 5.5 in SE-0296 the async / await pattern. This pattern allow to run async asynchronous code as it were synchronous. And of course this is a great feature for the language, because as developers we can take advantage of this and improve our code bases.
Why to use async/await?
Async programming with explicit callbacks (also called completion handlers) has many problems. We propose to address these problems by introducing async…