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