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

x/enzastdlib/rpc-protocol/procedure.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-protocol/procedure.ts";

Type Aliases

Represents the typing of a procedure callback that can be registered.

Represents a record containing all registered procedures.

Represents a utility type that "promisifies" a procedures by converting its second argument as its only argument. And converts its return type into a Promise if not already.

Represents a utility type that takes an ProcedureRecord<false> record and returns a new record with PromisifyProcedure ran on all procedures.