Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/operation-graph > OperationGroupRecord

OperationGroupRecord class

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.

Meta-entity that tracks information about a group of related operations.

Signature:

export declare class OperationGroupRecord<TMetadata extends {} = {}> 

Constructors

Constructor

Modifiers

Description

(constructor)(name, metadata)

(BETA) Constructs a new instance of the OperationGroupRecord class

Properties

Property

Modifiers

Type

Description

duration

readonly

number

(BETA)

finished

readonly

boolean

(BETA)

hasCancellations

readonly

boolean

(BETA)

hasFailures

readonly

boolean

(BETA)

metadata

readonly

TMetadata

(BETA)

name

readonly

string

(BETA)

Methods

Method

Modifiers

Description

addOperation(operation)

(BETA)

reset()

(BETA)

setOperationAsComplete(operation, state)

(BETA)

startTimer()

(BETA)