System.Threading.Channels.ChannelReader<T>
Provides a base class for reading from a channel.
Gets a value that indicates whether Count is available for use on this ChannelReader<T> instance.
Gets a value that indicates whether TryPeek is available for use on this ChannelReader<T> instance.
Gets a Task that completes when no more data will ever
be available to be read from this channel.
Gets the current number of items available from this channel reader.
protected ChannelReader()
Initializes an instance of the ChannelReader<T> class.
Creates an IAsyncEnumerable<T> that enables reading all of the data from the channel.
Asynchronously reads an item from the channel.
Attempts to peek at an item from the channel.
Attempts to read an item from the channel.
Returns a ValueTask<T> that will complete when data is available to read.