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

x/rimbu/channel/main/index.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.2.0/channel/main/index.ts";

Interfaces

Defines the static RemoteChannelServer API.

interface RemoteChannelServer
Re-export
import { type RemoteChannelServer } from "https://deno.land/x/rimbu@1.2.0/channel/main/index.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.2.0/channel/main/index.ts";