两者Queue和ConcurrentQueue实施IEnumerable但不是IAsyncEnumerable。NuGet 上是否有可用的标准类或类来实现IAsyncEnumerable,如果队列为空,则在将MoveNextAsync下一个添加到队列之前,结果不会完成?
Queue
ConcurrentQueue
IEnumerable
IAsyncEnumerable
MoveNextAsync
c# queue asynchronous iasyncenumerable
asynchronous ×1
c# ×1
iasyncenumerable ×1
queue ×1