Skip to main content
Module

x/denops_std/function/mod.ts>remote_read

📚 Standard module for denops.vim
Go to Latest
function remote_read
import { remote_read } from "https://deno.land/x/denops_std@v3.9.1/function/mod.ts";

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>