TimeoutPolicyOptions
Defined in: packages/pipeline-resilience/src/interfaces/resilience-options.interface.ts:130
Timeout configuration of a named policy. Underlying work stops only when it cooperates with the abort signal.
Extended by
Section titled “Extended by”Properties
Section titled “Properties”duration
Section titled “duration”duration:
number
Defined in: packages/pipeline-resilience/src/interfaces/resilience-options.interface.ts:132
Duration in milliseconds after which the call times out.
strategy?
Section titled “strategy?”
optionalstrategy?:"aggressive"|"cooperative"
Defined in: packages/pipeline-resilience/src/interfaces/resilience-options.interface.ts:137
aggressive(default): reject immediately withTaskCancelledError.cooperative: signal cancellation and wait for the call to settle.