Skip to main content
Deno 2 is finally here ๐ŸŽ‰๏ธ
Learn more
Module

x/denops_std/helper/batch.ts>BatchHelper

๐Ÿ“š Standard module for denops.vim
Go to Latest
class BatchHelper
implements Denops
import { BatchHelper } from "https://deno.land/x/denops_std@v3.9.0/helper/batch.ts";

Constructors

new
BatchHelper(denops: Denops)

Properties

readonly
context: Record<string | number | symbol, unknown>
dispatcher: Dispatcher
readonly
meta: Meta
readonly
name: string

Methods

batch(..._calls: [string, ...unknown[]][]): Promise<unknown[]>
call(fn: string, ...args: unknown[]): Promise<unknown>
cmd(cmd: string, ctx?: Context): Promise<void>
dispatch(
name: string,
fn: string,
...args: unknown[],
): Promise<unknown>
eval(expr: string, ctx?: Context): Promise<unknown>
redraw(_force?: boolean): Promise<void>

Static Methods

close(helper: GatherHelper): void
getCalls(helper: GatherHelper): [string, ...unknown[]][]