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-asyncsequence-with-asyncstream-makestream/
Other blog posts worth reading:
- Understanding Swift Concurrency's AsyncStream: https://www.donnywals.com/understanding-swift-concurrencys-asyncstream/
- Understanding Swift Concurrency's AsyncSequence: https://www.donnywals.com/understanding-swifts-asyncsequence/
- Iterating over web socket messages with async / await in Swift: https://www.donnywals.com/iterating-over-web-socket-messages-with-async-await-in-swift/
- Comparing lifecycle management for async sequences and publishers: https://www.donnywals.com/comparing-lifecycle-management-for-async-sequences-and-publishers/
Download
0 formats
No download links available.
Building an AsyncSequence with AsyncStream.makeStream | NatokHD