GWi*_*Wam 3 c# c#-8.0 iasyncenumerable
When working with an IEnumerable<T>
there are the build-in extension methods from the System.Linq
namespace such as Skip
, Where
and Select
to work with.
When Microsoft added IAsyncEnumerable
in C#8 did they also add new Linq methods to support this?
I could of course implement these methods myself, or maybe find some package which does that, but I'd prefer to use a language-standard method if it exists.
System.Linq.Async
在System.Reactive
包的名称空间中。如果您不需要完整的System.Reactive
软件包,则可以System.Linq.Async
直接使用该软件包(是的一部分System.Reactive
)。
您可以阅读github问题。的来源System.Linq.Async
可以在这里找到。