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.
capacity
channelId
An ID used for the client and server to connect the correct channels to each other.
channelId
handshakeAttemptTimeoutMs
The amount of milliseconds to wait for a reponse to each handshake.
handshakeAttemptTimeoutMs
maxHandshakeAttempts
The amount of handshake attempts to make before failing.
maxHandshakeAttempts
rcsChannelTimeoutMs
The amount of ms to wait when blocked sending to the RCS channel.
rcsChannelTimeoutMs
Definition
rcsChannelTimeoutMs?: number;
validator
A function taking a message and returning true if the message is of a valid type, false otherwise
validator