OpenDecree TypeScript SDK - v0.3.0-alpha.1
    Preparing search index...

    Function withRetry

    • Execute an async function with retry on transient gRPC errors.

      Uses exponential backoff with jitter (0.5x to 1.5x multiplier on backoff). If config is false or undefined, the function is called once without retry.

      Type Parameters

      • T

      Parameters

      Returns Promise<T>