import { type RpcProxy } from "https://deno.land/x/rimbu@1.2.0/channel/main/index.ts";
const { Constructors } = RpcProxy;
Defines the static RpcProxy
API.
Methods
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.