Channel 类

定义

提供用于创建通道的静态方法。

public ref class Channel abstract sealed
public static class Channel
type Channel = class
Public Class Channel
继承
Channel

方法

CreateBounded<T>(BoundedChannelOptions)

创建具有指定的最大容量的通道。

CreateBounded<T>(BoundedChannelOptions, Action<T>)

创建一个通道,主题为提供的选项。

CreateBounded<T>(Int32)

创建具有指定的最大容量的通道。

CreateUnbounded<T>()

创建可由任意数量的读取器和编写器同时使用的无限通道。

CreateUnbounded<T>(UnboundedChannelOptions)

根据提供的选项创建无限通道。

适用于