You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**retry**`(err: Error, context: RetryContext, callback: (err?: Error | null) => void) => void` (optional) - Function to be called after every retry. It should pass error if no more retries should be performed.
22
+
-**retry**`(err: Error, context: RetryContext, callback: (err?: Error | null) => void) => number | null` (optional) - Function to be called after every retry. It should pass error if no more retries should be performed.
23
23
-**maxRetries**`number` (optional) - Maximum number of retries. Default: `5`
24
24
-**maxTimeout**`number` (optional) - Maximum number of milliseconds to wait before retrying. Default: `30000` (30 seconds)
25
25
-**minTimeout**`number` (optional) - Minimum number of milliseconds to wait before retrying. Default: `500` (half a second)
0 commit comments