@camunda8/orchestration-cluster-api
    Preparing search index...

    Function retryWithBackoff

    • Retry an effect with exponential backoff (+ jitter), capped attempts, and an optional predicate over the error.

      Type Parameters

      • A
      • E
      • R

      Parameters

      • effect: Effect<A, E, R>
      • opts: { baseDelay?: Input; max: number; while?: (e: E) => boolean }

      Returns Effect<A, E, R>