interface RemoteChannelClient.WriteChannelConfig
Interface defining the configuration options for creating a remote Channel.Write channel
Extends: RemoteChannel.WriteConfig
Properties
capacity
The maximum amount of messages the Channel can buffer. If 0, the channel is unbuffered and the communication is synchronous.
capacitychannelId
An ID used for the client and server to connect the correct channels to each other.
channelIdhandshakeAttemptTimeoutMs
The amount of milliseconds to wait for a reponse to each handshake.
handshakeAttemptTimeoutMsmaxHandshakeAttempts
The amount of handshake attempts to make before failing.
maxHandshakeAttemptsrcsChannelTimeoutMs
The amount of ms to wait when blocked sending to the RCS channel.
rcsChannelTimeoutMsDefinition
rcsChannelTimeoutMs?: number;
validator
A function taking a message and returning true if the message is of a valid type, false otherwise
validator