1 | /// <reference types="node" />
|
2 | import EventEmitter from 'events';
|
3 | import { Command } from '../command';
|
4 | import { FlowController } from './flow-controller';
|
5 | /**
|
6 | * Watches the main concurrently process for signals and sends the same signal down to each spawned
|
7 | * command.
|
8 | */
|
9 | export declare class KillOnSignal implements FlowController {
|
10 | private readonly process;
|
11 | constructor({ process }: {
|
12 | process: EventEmitter;
|
13 | });
|
14 | handle(commands: Command[]): {
|
15 | commands: Command[];
|
16 | };
|
17 | }
|