@rushstack/operation-graph
Version:
Library for managing and executing operations in a directed acyclic graph.
45 lines • 1.43 kB
JavaScript
;
// Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT license.
// See LICENSE in the project root for license information.
Object.defineProperty(exports, "__esModule", { value: true });
exports.OperationStatus = void 0;
/**
* Enumeration defining potential states of an operation
* @beta
*/
var OperationStatus;
(function (OperationStatus) {
/**
* The Operation is on the queue, ready to execute
*/
OperationStatus["Ready"] = "READY";
/**
* The Operation is on the queue, waiting for one or more depencies
*/
OperationStatus["Waiting"] = "WAITING";
/**
* The Operation is currently executing
*/
OperationStatus["Executing"] = "EXECUTING";
/**
* The Operation completed successfully and did not write to standard output
*/
OperationStatus["Success"] = "SUCCESS";
/**
* The Operation failed
*/
OperationStatus["Failure"] = "FAILURE";
/**
* The operation was aborted
*/
OperationStatus["Aborted"] = "ABORTED";
/**
* The Operation could not be executed because one or more of its dependencies failed
*/
OperationStatus["Blocked"] = "BLOCKED";
/**
* The operation performed no meaningful work.
*/
OperationStatus["NoOp"] = "NO OP";
})(OperationStatus || (exports.OperationStatus = OperationStatus = {}));
//# sourceMappingURL=OperationStatus.js.map