18 lines
511 B
TypeScript
18 lines
511 B
TypeScript
/// <reference types="node" />
|
|
import EventEmitter from 'events';
|
|
import { Command } from '../command';
|
|
import { FlowController } from './flow-controller';
|
|
/**
|
|
* Watches the main concurrently process for signals and sends the same signal down to each spawned
|
|
* command.
|
|
*/
|
|
export declare class KillOnSignal implements FlowController {
|
|
private readonly process;
|
|
constructor({ process }: {
|
|
process: EventEmitter;
|
|
});
|
|
handle(commands: Command[]): {
|
|
commands: Command[];
|
|
};
|
|
}
|