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

x/rimbu/channel/custom/remote-channel/remote-channel-impl.ts>RemoteChannelBase.MessageFormat

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
type alias RemoteChannelBase.MessageFormat
import { type RemoteChannelBase } from "https://deno.land/x/rimbu@1.2.0/channel/custom/remote-channel/remote-channel-impl.ts";
const { MessageFormat } = RemoteChannelBase;
definition:
| MessageBase<"OPEN_CHANNEL_REQUEST">
| MessageWithData<"OPEN_CHANNEL_RESPONSE", { ack: number; }>
| MessageWithData<"OPEN_CHANNEL_CONFIRM", { ack: number; }>
| MessageBase<"CLOSE_CHANNEL_INFORM">
| MessageWithData<"SEND_VALUE_REQUEST", { value: any; }>
| MessageWithData<"SEND_VALUE_RESPONSE", { accepted: boolean; }>
| MessageBase<"SEND_VALUE_REQUEST_CANCEL">