UNPKG

@boost/core

Version:

Robust pipeline for creating dev tools that separate logic into routines and tasks.

12 lines 539 B
import Context from '../Context'; import Executor, { AggregatedResponse, ExecuteHandler } from '../Executor'; import Task from '../Task'; export default class SyncExecutor<Ctx extends Context> extends Executor<Ctx> { parallel: boolean; /** * Execute tasks in parallel with a value being passed to each task. * Tasks will synchronize regardless of race conditions and errors. */ run<T>(handler: ExecuteHandler<Ctx>, tasks: Task<Ctx>[], value?: T): Promise<AggregatedResponse>; } //# sourceMappingURL=Sync.d.ts.map