import { rpcnotify } from "https://deno.land/x/denops_std@v5.0.2/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")