Home > @rushstack/operation-graph > IOperationOptions
IOperationOptions 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.
Options for constructing a new Operation.
Signature:
export interface IOperationOptions<TMetadata extends {} = {}, TGroupMetadata extends {} = {}>
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
OperationGroupRecord<TGroupMetadata> | undefined | (BETA) (Optional) The group that this operation belongs to. Will be used for logging and duration tracking. | ||
TMetadata | undefined | (BETA) (Optional) The metadata for this operation. | ||
string | (BETA) The name of this operation, for logging. | ||
IOperationRunner | undefined | (BETA) (Optional) When the scheduler is ready to process this | ||
number | undefined | (BETA) (Optional) The weight used by the scheduler to determine order of execution. |