API
ChannelReader<T>.ReadAllAsync
Enumerates channel items until completion or failure.
Formal Syntax & Structure
csharp syntaxcsharp
await foreach (var item in queue.Reader.ReadAllAsync()) { }Working Example
Example Snippetcsharp
// Documentary fragment; see linked lesson for context.await foreach (var item in queue.Reader.ReadAllAsync()) { }