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

x/rimbu/channel/custom/rpc-proxy/rpc-proxy-impl.ts>RpcProxyImpl

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
class RpcProxyImpl
implements RpcProxy<T>
import { RpcProxyImpl } from "https://deno.land/x/rimbu@1.1.0/channel/custom/rpc-proxy/rpc-proxy-impl.ts";

Constructors

new
RpcProxyImpl(onCall: (path: RpcProxy.Path) => Promise<any>)

Methods

exec<R>(remoteFn: (p: RpcProxy.Unpromise<T>) => R): Promise<R>
getExecPath(execFn: (p: any) => any): RpcProxy.Path