This commit is contained in:
2026-10-19 12:16:49 -04:00
parent d7ecab6494
commit 6d3f470922
10446 changed files with 1626249 additions and 2216 deletions
+19
View File
@@ -0,0 +1,19 @@
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;
private readonly abortController?;
constructor({ process, abortController, }: {
process: EventEmitter;
abortController?: AbortController;
});
handle(commands: Command[]): {
commands: Command[];
onFinish: () => void;
};
}