Skip to main content

interface RemoteChannelClient.ReadChannelConfig

Interface defining the configuration options for creating a remote Channel.Read channel

Extends: RemoteChannel.ReadConfig

Properties​

channelId​

An ID used for the client and server to connect the correct channels to each other.

Definition​

channelId: string;

Overrides​

ReadConfig.channelId

handshakeAttemptTimeoutMs​

The amount of milliseconds to wait for a response to each handshake.

Definition​

handshakeAttemptTimeoutMs?: number;

Overrides​

ReadConfig.handshakeAttemptTimeoutMs

maxHandshakeAttempts​

The amount of handshake attempts to make before failing.

Definition​

maxHandshakeAttempts?: number;

Overrides​

ReadConfig.maxHandshakeAttempts

rcsChannelTimeoutMs​

The amount of ms to wait when blocked sending to the RCS channel.

Definition​

rcsChannelTimeoutMs?: number;

validator​

A function taking a message and returning true if the message is of a valid type, false otherwise

Definition​

validator?: (value: any) => boolean;

Overrides​

ReadConfig.validator