UNPKG

@rushstack/operation-graph

Version:

Library for managing and executing operations in a directed acyclic graph.

25 lines 804 B
import type { IOperationState } from './IOperationRunner'; import type { Operation } from './Operation'; /** * Meta-entity that tracks information about a group of related operations. * * @beta */ export declare class OperationGroupRecord { private readonly _operations; private _remainingOperations; private _groupStopwatch; private _hasCancellations; private _hasFailures; readonly name: string; get duration(): number; get finished(): boolean; get hasCancellations(): boolean; get hasFailures(): boolean; constructor(name: string); addOperation(operation: Operation): void; startTimer(): void; setOperationAsComplete(operation: Operation, state: IOperationState): void; reset(): void; } //# sourceMappingURL=OperationGroupRecord.d.ts.map