import { remote_read } from "https://deno.land/x/denops_std@v6.3.0/function/vim/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. Returns an empty string, if a reply is
not available or on error.
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()