- retryUntil<T>(callbackFn: (() => Promise<T>), retries?: number, timeoutBetweenAttempts?: number): Promise<T>
-
Parameters
-
callbackFn: (() => Promise<T>)
-
- (): Promise<T>
-
Returns Promise<T>
-
retries: number = 10
-
timeoutBetweenAttempts: number = 1000
Returns Promise<T>