Skip to main content

RetryOptions

Retry-policy options accepted by withRetry. The same policy is used by every namespace client method; the exported helper is useful when you need that behavior on a call that isn’t wrapped yet (e.g., a direct call to adaline.deploymentsApi.* or adaline.logsApi.*).

Definition

Fields

Defaults

The exported DEFAULT_RETRY_OPTIONS constant is what every namespace client uses:

Behavior

  • 5xx responses — retried with exponential backoff and jitter.
  • 4xx responses — aborted immediately via AbortError; no retries.
  • Network errors — retried like 5xx.

Usage

See Also