@edgible-team/sdk
    Preparing search index...

    Function runWithStreamRetry

    • Run attempt (a fresh single PUT / stream each call) with exponential backoff, retrying only failures isRetryable accepts and only while the deadline budget allows. On a retryable failure it logs (via describeRetry

      • logger), sleeps, doubles the backoff (clamped to maxDelayMs), then runs the optional checkpoint before re-attempting. Non-retryable failures — and the last failure once the budget is exhausted — are rethrown unchanged, so each call site keeps its own error type/shape.

      Type Parameters

      • T

      Parameters

      Returns Promise<T>