Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/operation-graph > OperationExecutionManager > executeAsync

OperationExecutionManager.executeAsync() method

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.

Executes all operations which have been registered, returning a promise which is resolved when all the operations are completed successfully, or rejects when any operation fails.

Signature:

executeAsync(executionOptions: IOperationExecutionOptions<TOperationMetadata, TGroupMetadata>): Promise<OperationStatus>;

Parameters

Parameter

Type

Description

executionOptions

IOperationExecutionOptions<TOperationMetadata, TGroupMetadata>

Returns:

Promise<OperationStatus>