Press ESC to close

async/await

Async/Await syntax allows to easily run asynchronous code, similarly to synchronous one. You can declare the asynchronous function with the async keyword and then call them by using await. It was introduced in Swift 5.5.