Building an AsyncSequence with AsyncStream.makeStream

Опубликовано: 31 Март 2026
на канале: donny wals
1,070
47

In this video you'll learn how to use Swift 5.9's AsyncStream.makeStream method to build custom async sequences. You'll learn about its usage as well as its caveats.

This video is a companion for this blog post: https://www.donnywals.com/building-an...

Other blog posts worth reading:
Understanding Swift Concurrency's AsyncStream: https://www.donnywals.com/understandi...
Understanding Swift Concurrency's AsyncSequence: https://www.donnywals.com/understandi...
Iterating over web socket messages with async / await in Swift: https://www.donnywals.com/iterating-o...
Comparing lifecycle management for async sequences and publishers: https://www.donnywals.com/comparing-l...