Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/denops_std/function/vim/mod.ts>term_wait

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

Wait for pending updates of {buf} to be handled. {buf} is used as with term_getsize(). {time} is how long to wait for updates to arrive in msec. If not set then 10 msec will be used.

Can also be used as a method:

GetBufnr()->term_wait()

Parameters

denops: Denops
buf: unknown
optional
time: unknown

Returns

Promise<number>