Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/operation-graph > IExecuteOperationContext > beforeExecute

IExecuteOperationContext.beforeExecute() 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.

Function to invoke before execution of an operation, for logging.

Signature:

beforeExecute(operation: Operation, state: IOperationState): void;

Parameters

Parameter

Type

Description

operation

Operation

state

IOperationState

Returns:

void