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

x/rimbu/channel/mod.ts>RpcProxy.Constructors

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface RpcProxy.Constructors
import { type RpcProxy } from "https://deno.land/x/rimbu@1.2.0/channel/mod.ts";
const { Constructors } = RpcProxy;

Defines the static RpcProxy API.

Methods

getter
Error(): RpcProxyError

Returns the Error types and utilities available for RpcProxy.

create<T>(onCall: (path: RpcProxy.Path) => Promise<any>): RpcProxy<T>

Returns a new RpcProxy instance, where each exec call will retrieve the proxy execution path and forward the path to the given onCall function.