Home > @microsoft/rush-lib > IOperationExecutionResult
IOperationExecutionResult interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
The IOperationExecutionResult interface represents the results of executing an Operation.
Signature:
export interface IOperationExecutionResult
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| Error | undefined | (ALPHA) The error which occurred while executing this operation, this is stored in case we need it later (for example to re-print errors at end of execution). | |
| ILogFilePaths | undefined | (ALPHA) The paths to the log files, if applicable. | |
| string | undefined | (ALPHA) The relative path to the folder that contains operation metadata. This folder will be automatically included in cache entries. | |
| number | undefined | (ALPHA) The value indicates the duration of the same operation without cache hit. | |
| (ALPHA) The operation itself | ||
| (ALPHA) Object used to collect problems (errors/warnings/info) encountered during the operation. | ||
| boolean | (ALPHA) If this operation is only present in the graph to maintain dependency relationships, this flag will be set to true. | |
| (ALPHA) The current execution status of an operation. Operations start in the 'ready' state, but can be 'blocked' if an upstream operation failed. It is 'executing' when the operation is executing. Once execution is complete, it is either 'success' or 'failure'. | ||
| (ALPHA) Object used to report a summary at the end of the Rush invocation. | ||
| (ALPHA) Object tracking execution timing. |
Methods
Method | Description |
|---|---|
(ALPHA) Gets the hash of the state of all registered inputs to this operation. Calling this method will throw if Git is not available. | |
(ALPHA) Gets the components of the state hash. This is useful for debugging purposes. Calling this method will throw if Git is not available. |