OnExecutionAttemptArgs
Defined in: src/retry.ts:54
OnExecutionAttempt telemetry: emitted by the pipeline for every call of the callback.
Extends
Section titled “Extends”Type Parameters
Section titled “Type Parameters”T
Properties
Section titled “Properties”attemptNumber
Section titled “attemptNumber”
readonlyattemptNumber:number
Defined in: src/retry.ts:38
0 for the first (original) attempt.
Inherited from
Section titled “Inherited from”RetryPredicateArgs.attemptNumber
context
Section titled “context”
readonlycontext:ResilienceContext
Defined in: src/core.ts:274
Inherited from
Section titled “Inherited from”duration
Section titled “duration”
readonlyduration:number
Defined in: src/retry.ts:55
outcome
Section titled “outcome”
readonlyoutcome:Outcome<T>
Defined in: src/core.ts:273