Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/channel/custom/index.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.1.0/channel/custom/index.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.