Version: 2021.2

ChannelClientScopeConstructor

切换到手册
public ChannelClientScope (bool autoTick, string channelName, Action<string> handler, bool closeClientOnExit);
public ChannelClientScope (bool autoTick, string channelName, Action<byte[]> handler, bool closeClientOnExit);

参数

autoTick If true, starts the channel client in auto tick mode.
channelName Name of the channel to open.
handler Handler to process message on the channel.
closeClientOnExit If true, closes the client on exit.

描述

Create a new Channel Client scope.