• Type Parameters

    • T extends ((...args) => Promise<Awaited<ReturnType<T>>>)

    Parameters

    • originalMethod: T

      Method to make retryable

    • Optional options: RetryableOptions<any>

      An optional options object to configure the retry behavior

    Returns ((...args) => Promise<Awaited<ReturnType<T>>>)

      • (...args): Promise<Awaited<ReturnType<T>>>
      • Parameters

        • Rest ...args: Parameters<T>

        Returns Promise<Awaited<ReturnType<T>>>

    See

    retryable