exponential-backoff
Advanced tools
Comparing version 2.2.0 to 2.2.1
{ | ||
"name": "exponential-backoff", | ||
"version": "2.2.0", | ||
"version": "2.2.1", | ||
"description": "A utility that allows retrying a function with an exponential delay between attempts.", | ||
@@ -5,0 +5,0 @@ "main": "dist/backoff.js", |
@@ -15,3 +15,3 @@ # exponential-backoff | ||
``` | ||
```ts | ||
function backOff<T>(request: () => Promise<T>, options?: IBackOffOptions): Promise<T> | ||
@@ -22,3 +22,3 @@ ``` | ||
``` | ||
```js | ||
import { backOff } from 'exponential-backoff'; | ||
@@ -25,0 +25,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
37739