
99: “Structured concurrency”, with special guest Doug Gregor
Swift by Sundell
00:00
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.
Transcript
Play full episode