Swift Structured Concurrency

Swift Structured Concurrency … This is what you have been (await)ing for!
In this half-day session, we will discuss Swift structured concurrency and why we need it.

Topics Dis(covered):
Async/await (sequences & stream) — Suspend function works with try/catch.
Structured concurrency — async let bindings, Task and TaskGroup
Actors (Global) – Class that only allows one access at a time.
Sendable and @Sendable closures — passed between threads

This workshop uses XCode 13 (iOS examples) & MacOS 12 (Playgrounds) but not required as attendees can follow along and ask questions without doing the problem sets.

Session Info: (Notes / Slides / Codelabs / Playground)

Hands On Lab Code