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

x/rimbu/channel/custom/remote-channel/remote-channel.ts>RemoteChannel

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace RemoteChannel
import { RemoteChannel } from "https://deno.land/x/rimbu@1.0.2/channel/custom/remote-channel/remote-channel.ts";

A RemoteChannel is a channel that communicates through a message port of the RemoteChannel.SimpleMessagePort type. This makes it usable for cross-environment channel communication, e.g. cross threads or even cross network. Like CrossChannel, RemoteChannel does not receive its own sent messages, but requires another end to communicate.

Interfaces

Defines the static RemoteChannel API.

Interface defining the cross-channel configuration for a RemoteChannel.

Interface defining the read configuration for a RemoteChannel.

Interface used to perform low-level message communication between processes. Compatible with browser, Node, and Worker contexts.

Interface defining the write configuration for a RemoteChannel.

variable RemoteChannel
import { RemoteChannel } from "https://deno.land/x/rimbu@1.0.2/channel/custom/remote-channel/remote-channel.ts";