Skip to main content

interface RemoteChannel.CrossConfig

Interface defining the cross-channel configuration for a RemoteChannel.

Implemented by: RemoteChannelClient.CrossChannelConfig

Properties​

read​

The channel read configuration.

Definition​

read: {
      channelId: string;
      capacity?: number;
      validator?: (value: any) => boolean;
      maxHandshakeAttempts?: number;
      handshakeAttemptTimeoutMs?: number;
    };

write​

The channel write configuration.

Definition​

write: {
      channelId: string;
      capacity?: number;
      validator?: (value: any) => boolean;
      maxHandshakeAttempts?: number;
      handshakeAttemptTimeoutMs?: number;
    };