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

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

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

Sends {event} to {channel} via |RPC| and returns immediately. If {channel} is 0, the event is broadcast to all channels. Example: :au VimLeave call rpcnotify(0, "leaving")

Parameters

denops: Denops
channel: unknown
event: unknown
optional
args: unknown

Returns

Promise<unknown>