Metadata
Metadata<
E> =object
Defined in: Types/RetryPolicy.ts:42
Observational telemetry metadata provided to onRetry callbacks 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:42
readonlydelay:Duration
Defined in: Types/RetryPolicy.ts:42
readonlyerror:E
Defined in: Types/RetryPolicy.ts:42