Swift by Sundell cover image

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

Swift by Sundell

CHAPTER

I Think It'll Be Incredibly Useful When Building Apps

I think this will be incredibly commonly used. And I think it will also serve as a really nice introduction to actors because this is such a common problem. We have to make sure to always update our UI on the main queue, but we're performing a lot of work elsewhere. So having those main actor annotations will make sure that you get back on the main thread when you actually need to publish those results. It takes the guesswork out of dispatch and lets the language give those guarantees to you.

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