~/talk

Future of Swift: A Sneak Peek at async / await

Talkat Swift Heroes Digital 2021 · 2021-04-15..04-16· [swift, concurrency]
slides:none on file

Shows how to preview Swift 5.5 async/await by installing the latest Swift snapshot, enabling the flag -Xfrontend -enable-experimental-concurrency, and using withCheckedContinuation to wrap completion‑handler APIs. Demonstrates converting legacy URLSession calls into async functions, using @asyncHandler to call async from synchronous entry points, using async let (and Task.runDetached / Task.checkCancellation / handle.get) for parallelism and cancellation, and compares where async/await simplifies flow versus when Combine or RxSwift remain more appropriate.

AI-written summary · about

  1. 0:00Introduction to async/await
  2. 1:07Motivation behind async/await
  3. 8:47Setting up async/await in Swift
  4. 13:21Key concepts of async/await
  5. 18:16Improving code with async/await
  6. 22:23Understanding asynclet and tasks
  7. 26:55Recap and additional resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.