Async/Await: Thinking beyond Combine
summary
Claims that Async/Await can replace core Combine patterns, demonstrates AsyncStream continuations, converting Publishers to AsyncSequence, and using Apple’s AsyncAlgorithms package to get combineLatest, zip, merge. Shows concrete networking and stream examples, uses Task cancellation and structured concurrency, and points out a practical three streams limit in current combine-style operators plus type‑erasure for errors; overall the AsyncAlgorithms bridge reproduces operators but error typing and some ergonomics still fall short.
AI-written summary · about
chapters (10)
- 0:00Async/await intro
- 1:49Combine’s reactive model
- 3:56Async/await advantages
- 5:21Value streams in async/await
- 8:10AsyncStream power
- 11:42Combining streams
- 14:29Error handling
- 19:02Cancellation
- 21:52Trade-offs vs Combine
- 22:13Q&A
related talks
29mAsynchronous Programming with Combine
47mManaging Combine, your existing code, and async/await
35mSwiftUI, Async/Await, AsyncAlgorithms: How does it all fit?
32mCombine and your existing delegates and callbacks
39mCombine! All the things
42mAsync Await and More in Swift
34mModern SwiftUI Callbacks using AsyncStream
43mBeware Combine!
