Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/function/nvim/mod.ts>rpcrequest

๐Ÿ“š Standard module for denops.vim
Go to Latest
function rpcrequest
import { rpcrequest } from "https://deno.land/x/denops_std@v3.9.0/function/nvim/mod.ts";

Sends a request to {channel} to invoke {method} via |RPC| and blocks until a response is received. Example: :let result = rpcrequest(rpc_chan, "func", 1, 2, 3)

Parameters

denops: Denops
channel: unknown
method: unknown
optional
args: unknown

Returns

Promise<unknown>