Skip to main content
Module

x/enzastdlib/rpc-messageport/mod.ts

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
import * as enzastdlib from "https://deno.land/x/enzastdlib@v0.0.4/rpc-messageport/mod.ts";

Create fully typed and validated RPC clients and servers using MessagePort-like API instances as the transport.

Functions

Makes a MessagePort client that can communicate to a server in enzastdlib's RPC protocol.

Makes a MessagePort server that can respond to clients in enzastdlib's RPC protocol.

Interfaces

Represents options passable to makeMessagePortClient.

Represents a simplified interface of the JavaScript runtime's MessagePort class.

Represents a MessagePort server made by makeMessagePortServer.

Represents options passable to makeMessagePortServer.

Type Aliases

Represents a MessagePort client made by makeMessagePortClient.