Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.2.1/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.