RetryEvent
RetryEvent<
E> =object
Defined in: Types/RetryPolicy.ts:18
Observational telemetry event emitted immediately before each retry delay.
Provides context on the current attempt count, the error that triggered the retry, and the calculated backoff delay before the next attempt executes.
RetryPolicy for configuring retry attempts and backoff strategies.
Example
Section titled “Example”Type Parameters
Section titled “Type Parameters”E = unknown
Properties
Section titled “Properties”attempt
Section titled “attempt”
readonlyattempt:number
Defined in: Types/RetryPolicy.ts:18
readonlydelay:Duration
Defined in: Types/RetryPolicy.ts:18
readonlyerror:E
Defined in: Types/RetryPolicy.ts:18