Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides a base class for reading from a channel.
generic <typename T> public ref class ChannelReader abstract
public abstract class ChannelReader<T>
type ChannelReader<'T> = class
Public MustInherit Class ChannelReader(Of T)
Specifies the type of data that may be read from the channel.
Initializes an instance of the ChannelReader<T> class.
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.
Determines whether the specified object is equal to the current object.(Inherited from Object)
Serves as the default hash function.(Inherited from Object)
Gets the Type of the current instance.(Inherited from Object)
Creates a shallow copy of the current Object.(Inherited from Object)
Creates an IAsyncEnumerable<T> that enables reading all of the data from the channel.
Asynchronously reads an item from the channel.
Returns a string that represents the current object.(Inherited from Object)
Attempts to peek at an item from the channel.
Attempts to read an item from the channel.
Returns a ValueTask<TResult> that will complete when data is available to read.