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

x/denops_std/batch/batch.ts>BatchHelper

๐Ÿ“š Standard module for denops.vim
Go to Latest
class BatchHelper
implements Denops
import { BatchHelper } from "https://deno.land/x/denops_std@v5.1.0/batch/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: BatchHelper): void
getCalls(helper: BatchHelper): [string, ...unknown[]][]
getRedraw(helper: BatchHelper): Redraw