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

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