Chapter 5 - Adopting AsyncStream's continuation in a delegate pattern

Hi,
from chapter 5:

“Some APIs use the delegate pattern to continuously “talk” to their delegate — for example, to send progress updates or notifications about app state changes. When you need to handle multiple values, you should use an AsyncStream to bridge the delegate pattern to newer code.”

Excerpt From
Modern Concurrency in Swift
By Marin Todorov
This material may be protected by copyright.

Do you plan to add an example for this scenario in future, perhaps a tutorial here on the site ?

Thanks.

Thank you for your question - we don’t have such plan right now. I’ll make a not of it in case it’s something the iOS tutorial team wants to look at.

Thanks, it’ll be great if they do cause currently there is no resource to look at for such scenario.