Configuration for withRetry()RetryConfig
Interface
projects/common/interactive/retry/with-retry.ts
Import#
import { RetryConfig } from '@cngx/common/interactive'
Description#
Configuration for withRetry().
Instance Properties#
backoff#"linear" | "exponential" Optional
Backoff strategy. 'exponential' doubles the delay each attempt. Default: 'exponential'.
Optional
Base delay in ms between retries. Default: 1000.
Optional
Maximum number of attempts (including the first). Default: 3.