Skip to main content
Module

x/rimbu/channel/mod.ts>RemoteChannelServer

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

Interfaces

Defines the static RemoteChannelServer API.

interface RemoteChannelServer
Re-export
import { type RemoteChannelServer } from "https://deno.land/x/rimbu@1.0.2/channel/mod.ts";

A RemoteChannel server communicates with a RemoteChannel client through the given message port, and allows clients to easily create new channels to communicate with processes in the server context. The server needs to set up handlers to deal with the created channels.

Properties

readonly
writeChannelCh: Channel.Read<Channel.Write<unknown>>

Channel that will send new write channels requested by the client.

readonly
readChannelCh: Channel.Read<Channel.Read<unknown>>

Channel that will send new read channels requested by the client.

readonly
crossChannelCh: Channel.Read<CrossChannel<unknown, unknown>>

Channel that will send new cross channels requested by the client.

variable RemoteChannelServer
Re-export
import { RemoteChannelServer } from "https://deno.land/x/rimbu@1.0.2/channel/mod.ts";