1 | import { Command } from '../command';
|
2 | import { Logger } from '../logger';
|
3 | import { FlowController } from './flow-controller';
|
4 | export type ProcessCloseCondition = 'failure' | 'success';
|
5 |
|
6 |
|
7 |
|
8 | export declare class KillOthers implements FlowController {
|
9 | private readonly logger;
|
10 | private readonly conditions;
|
11 | private readonly killSignal;
|
12 | constructor({ logger, conditions, killSignal, }: {
|
13 | logger: Logger;
|
14 | conditions: ProcessCloseCondition | ProcessCloseCondition[];
|
15 | killSignal: string | undefined;
|
16 | });
|
17 | handle(commands: Command[]): {
|
18 | commands: Command[];
|
19 | };
|
20 | }
|