import { term_wait } from "https://deno.land/x/denops_std@v3.9.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()