Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/operation-graph > IOperationStates

IOperationStates interface

This API is provided as a beta preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.

Interface contract for the current and past state of an operation.

Signature:

export interface IOperationStates 

Properties

Property

Modifiers

Type

Description

lastState

readonly

Readonly<IOperationState> | undefined

(BETA) The previous state of the operation.

state

readonly

Readonly<IOperationState> | undefined

(BETA) The current state of the operation.