Member Junction
    Preparing search index...
    • Retries an operation that failed with a deadlock, serialization error or lock timeout. Other errors propagate at once.

      Type Parameters

      • T

      Parameters

      • operation: () => Promise<T>
      • attempts: number = 3
      • wait: (attempt: number) => Promise<void> = defaultWait

      Returns Promise<T>