Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Batch

Package version

Batch provides basic parallel execution with concurrency limits. Will stop execute left operations when one of the executed operation throws an error. But Batch cannot cancel ongoing operations, you need to cancel them by yourself.

Hierarchy

  • Batch

Index

Constructors

Methods

Constructors

constructor

  • new Batch(concurrency?: number): Batch

Methods

addOperation

do

  • do(): Promise<void>

Generated using TypeDoc