System.Threading.Channels Namespace

Provides a set of synchronization data structures for passing data between producers and consumers asynchronously.

Classes

Name Description
BoundedChannelOptions

Provides options that control the behavior of bounded Channel instances.

Channel

Provides static methods for creating channels.

Channel

Provides a base class for channels that support reading and writing elements of type T.

Channel

Provides a base class for channels that support reading elements of type TRead and writing elements of type TWrite.

ChannelClosedException

Exception thrown when a channel is used after it's been closed.

ChannelOptions

Provides options that control the behavior of channel instances.

ChannelReader

Provides a base class for reading from a channel.

ChannelWriter

Provides a base class for writing to a channel.

UnboundedChannelOptions

Provides options that control the behavior of unbounded Channel instances.

UnboundedPrioritizedChannelOptions

Provides options that control the behavior of instances created by CreateUnboundedPrioritized().

Enums

Name Description
BoundedChannelFullMode

Specifies the behavior to use when writing to a bounded channel that is already full.