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

x/rimbu/channel/custom/remote-channel-server/remote-channel-server.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.1.0/channel/custom/remote-channel-server/remote-channel-server.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.