Skip to main content
Deno 2 is finally here 🎉️
Learn more
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.2.0/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.