ChannelWriter<T>
Provides a base class for writing to a channel.
protected ChannelWriter()
Initializes an instance of the ChannelWriter<T> class.
Mark the channel as being complete, meaning no more items will be written to it.
Attempts to mark the channel as being completed, meaning no more data will be written to it.
Attempts to write the specified item to the channel.
Returns a ValueTask<T> that will complete when space is available to write an item.
Asynchronously writes an item to the channel.