Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

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

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Latest
interface RemoteChannelServer.Constructors
import { type RemoteChannelServer } from "https://deno.land/x/rimbu@1.2.1/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.