Skip to main content
Module

x/enzastdlib/rpc-messageport/mod.ts>MessagePortServer

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
interface MessagePortServer
implements Server
import { type MessagePortServer } from "https://deno.land/x/enzastdlib@v0.0.4/rpc-messageport/mod.ts";

Represents a MessagePort server made by makeMessagePortServer.

Properties

readonly
close: () => void

Closes the RPC server.

readonly
serve: () => void

Starts the RPC server.