Swift by Sundell cover image

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

Swift by Sundell

00:00

Async Marked APIs for UI Kits and App Kits

Async await is really great and it looks very elegant when you look at a context where the context itself is also async. But sometimes we might want to start a synchronous call from a synchronous context. And so this is what the task APIs are there for. They allow you to create a task that runs some code asynchronously. It will probably want to go and post back the results to UI at some point later. So here is one of these cases where you actually truly do need the unstructured concurrence that you need to be able to create these new tasks, right?

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app