Skip to main content
Module

x/ddc_vim/deps.ts>fn.remote_read

Dark deno-powered completion framework for neovim/Vim8
Go to Latest
function fn.remote_read
import { fn } from "https://deno.land/x/ddc_vim@v2.3.0/deps.ts";
const { remote_read } = fn;

Return the oldest available reply from {serverid} and consume it. Unless a {timeout} in seconds is given, it blocks until a reply is available. See also |clientserver|. This function is not available in the |sandbox|. {only available when compiled with the |+clientserver| feature} Example: :echo remote_read(id) Can also be used as a |method|: ServerId()->remote_read()

Parameters

denops: Denops
serverid: unknown
timeout: unknown

Returns

Promise<unknown>