Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/operation-graph > IOperationRunner

IOperationRunner 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.

The Operation class is a node in the dependency graph of work that needs to be scheduled by the OperationExecutionManager. Each Operation has a runner member of type IOperationRunner, whose implementation manages the actual process for running a single operation.

Signature:

export interface IOperationRunner 

Properties​

Property

Modifiers

Type

Description

name

readonly

string

(BETA) Name of the operation, for logging.

silent

boolean

(BETA) Indicates that this runner is architectural and should not be reported on.

Methods​

Method

Description

executeAsync(context)

(BETA) Method to be executed for the operation.