Редагувати

Поділитися через


System.Threading.Channels Namespace

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

Classes

BoundedChannelOptions

Provides options that control the behavior of bounded Channel<T> instances.

Channel

Provides static methods for creating channels.

Channel<T>

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

Channel<TWrite,TRead>

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<T>

Provides a base class for reading from a channel.

ChannelWriter<T>

Provides a base class for writing to a channel.

UnboundedChannelOptions

Provides options that control the behavior of unbounded Channel<T> instances.

UnboundedPrioritizedChannelOptions<T>

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

Enums

BoundedChannelFullMode

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