Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/saurpc/mod.ts>runRpc

saurpc is a tiny set of functions and types to make strongly-typed RPC easily manageable across TypeScript projects.
Go to Latest
function runRpc
import { runRpc } from "https://deno.land/x/saurpc@0.4.0/mod.ts";

Type Parameters

T extends ProcedureSet
S extends keyof T

Parameters

rpcs: T
procedureName: S
...args: Parameters<T[S]>