@boost/core
Version:
Robust pipeline for creating dev tools that separate logic into routines and tasks.
11 lines • 464 B
TypeScript
import Context from '../Context';
import Executor, { ExecuteHandler } from '../Executor';
import Task from '../Task';
export default class SerialExecutor<Ctx extends Context> extends Executor<Ctx> {
/**
* Execute tasks in sequential order with the output of each
* task being passed to the next promise in the chain.
*/
run<T>(handler: ExecuteHandler<Ctx>, tasks: Task<Ctx>[], value?: T): Promise<any>;
}
//# sourceMappingURL=Serial.d.ts.map