Files
book-test/node_modules/concurrently/dist/lib/flow-control/log-timings.d.ts
T
chris a7524412f0
CI/CD Pipeline / test (push) Failing after 2m38s
CI/CD Pipeline / deploy-internal (push) Has been skipped
Add web front-end and fix API issues
2026-08-28 21:47:05 -04:00

32 lines
965 B
TypeScript

import { CloseEvent, Command } from '../command.js';
import { Logger } from '../logger.js';
import { FlowController } from './flow-controller.js';
type TimingInfo = {
name: string;
duration: string;
'exit code': string | number;
killed: boolean;
command: string;
};
/**
* Logs timing information about commands as they start/stop and then a summary when all commands finish.
*/
export declare class LogTimings implements FlowController {
static mapCloseEventToTimingInfo({ command, timings, killed, exitCode, }: CloseEvent): TimingInfo;
private readonly logger?;
private readonly dateFormatter;
constructor({ logger, timestampFormat, }: {
logger?: Logger;
timestampFormat?: string;
});
private printExitInfoTimingTable;
handle(commands: Command[]): {
commands: Command[];
onFinish?: undefined;
} | {
commands: Command[];
onFinish: () => void;
};
}
export {};