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

x/rimbu/channel/main/index.ts>RemoteChannel

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace RemoteChannel
Re-export
import { RemoteChannel } from "https://deno.land/x/rimbu@1.2.0/channel/main/index.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
Re-export
import { RemoteChannel } from "https://deno.land/x/rimbu@1.2.0/channel/main/index.ts";