process-rerun
Version:
The purpose of this library is - build simple and flexible interface for parallel command execution with rerun (on fail) possibility
11 lines (10 loc) • 834 B
TypeScript
declare function internalLogStartCycle(maxThreads: number | string, attemptsCount: number | string, commands: string[]): void;
declare function internalLogEndCycle(retriable: string[], notRetriable: string[], startTime: number): void;
declare function internalLogIteractionCycle(cycleNumber: number, commands: string[]): void;
declare function internalLogMiddleResultsCycle(initialCount: number, commands: string[]): void;
declare function internalLogIntimeCommand(commadData: {
cmd: string;
attemptsCount: number;
}): void;
declare function internalLogProcessResult(cmd: string, startTime: number, execProc: any, error: any, stdout: any, stderr: any): void;
export { internalLogStartCycle, internalLogEndCycle, internalLogIteractionCycle, internalLogMiddleResultsCycle, internalLogIntimeCommand, internalLogProcessResult, };