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

x/msgpack_rpc/session.ts>Session#call

🦕 Deno module to support msgpack-rpc
Latest
method Session.prototype.call
import { Session } from "https://deno.land/x/msgpack_rpc@v4.0.0/session.ts";

Call a method with params and return a Promise which resolves when a response message has received and to the result value of the method.

Parameters

method: string
...params: unknown[]

Returns

Promise<unknown>