interface RetryPolicy
Since 0.1.0

Retry policy consumed by the ResiliencePlugin's retry pattern.

Named distinctly from the scheduler's RetryOptions to avoid a barrel collision.

Properties

readonly
limit: number

Maximum total attempts (1 = a single attempt, no retry).

readonly
delay: number

Base backoff delay in milliseconds.

readonly
backoff: BackoffStrategy

Backoff strategy applied to delay.

Usage

import { type RetryPolicy } from "sdk/src/index.ts";