Quantumbraid's picture
download
raw
847 Bytes
/// <reference types="node" />
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 abortController?;
private readonly conditions;
private readonly killSignal;
constructor({ logger, abortController, conditions, killSignal, }: {
logger: Logger;
abortController?: AbortController;
conditions: ProcessCloseCondition | ProcessCloseCondition[];
killSignal: string | undefined;
});
handle(commands: Command[]): {
commands: Command[];
};
}

Xet Storage Details

Size:
847 Bytes
·
Xet hash:
d992211c7579619d27bb187ea075516c9e0a88e86bdcfe10f91b02456c7c3de9

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.