Skip to main content
Module

x/rimbu/channel/mod.ts>RemoteChannel.CrossConfig

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface RemoteChannel.CrossConfig
import { type RemoteChannel } from "https://deno.land/x/rimbu@1.0.2/channel/mod.ts";
const { CrossConfig } = RemoteChannel;

Interface defining the cross-channel configuration for a RemoteChannel.

Properties

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

The channel write configuration.

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

The channel read configuration.