Swift by Sundell cover image

99: “Structured concurrency”, with special guest Doug Gregor

Swift by Sundell

CHAPTER

Swift Implementation of Async Away

Async away builds on all these language constructs that we're familiar with from synchronous programming, but now we can also use them in a synchronous context as well. Swift is following what other languages have done here fairly closely because async away has worked out wonderfully. But there are a couple of differences where we had to make it uniquely swift. There's no future event behind the scenes when you're calling an asynchronous function. And so the futures that you might be used to from another languages just don't exist in Swift'sAsync away.

00:00
Transcript
Play full episode

Remember Everything You Learn from Podcasts

Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.
App store bannerPlay store banner