import { type RemoteChannel } from "https://deno.land/x/rimbu@1.2.0/channel/mod.ts";
const { WriteConfig } = RemoteChannel;
Interface defining the write configuration for a RemoteChannel.
Properties
An ID used for the client and server to connect the correct channels to each other.
The maximum amount of messages the Channel can buffer. If 0, the channel is unbuffered and the communication is synchronous.
A function taking a message and returning true if the message is of a valid type, false otherwise