Skip to content

ambiten


ambiten / logger / retryWithBackoff

Function: retryWithBackoff()

retryWithBackoff<T>(fn, options?): Promise<T>

Defined in: packages/logger/src/utils/retry/retryWithBackoff.ts:30

Retries an async operation with exponential backoff.

Type Parameters

T

T

Parameters

fn

() => Promise<T>

options?

RetryWithBackoffOptions = {}

Returns

Promise<T>

Context-aware execution infrastructure for multi-tenant systems.