UNPKG

511 BTypeScriptView Raw
1/// <reference types="node" />
2import EventEmitter from 'events';
3import { Command } from '../command';
4import { 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 */
9export 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}