DEV Community

Discussion on: Asynchronous coroutines with C# and IAsyncEnumerable

Collapse
 
hamlethakobyan profile image
Hamlet Hakobyan

Hi Andrew, thanks for the good article.
As a side note, there is Interleave method from MoreLINQ which can be used instead of CoroutineCombinator.Combine

Collapse
 
noseratio profile image
Andrew Nosenko

Thank you and #TIL about MoreLINQ :)

One other option might be to use Rx .NET and System.Linq.Async, there're operators to convert IAsyncEnumerable to IObservable, then do Merge, then convert the resulting observable back to IAsyncEnumerable, I've blogged about it.