Skip to main content
Module

x/rimbu/channel/mod.ts>RemoteChannelServer.Constructors

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

Defines the static RemoteChannelServer API.

Methods

create(config: { port: RemoteChannel.SimpleMessagePort; rcsChannelId?: string; }): Promise<RemoteChannelServer>

Resolves, if succesful, to a new RemoteChannelServer that can listen to client requests to create new channels.