Initial commit of files.

This commit is contained in:
2026-02-02 20:01:57 +00:00
commit 695f853c94
10000 changed files with 608932 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
import { Command } from '../command';
import { Logger } from '../logger';
import { FlowController } from './flow-controller';
export type ProcessCloseCondition = 'failure' | 'success';
/**
* Sends a SIGTERM signal to all commands when one of the commands exits with a matching condition.
*/
export declare class KillOthers implements FlowController {
private readonly logger;
private readonly conditions;
private readonly killSignal;
constructor({ logger, conditions, killSignal, }: {
logger: Logger;
conditions: ProcessCloseCondition | ProcessCloseCondition[];
killSignal: string | undefined;
});
handle(commands: Command[]): {
commands: Command[];
};
}