ts-retry-promise
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -0,0 +0,0 @@ export interface RetryConfig<T> { |
@@ -0,0 +0,0 @@ "use strict"; |
export declare const timeout: <T>(millis: number, f: (done: () => boolean) => Promise<T>) => Promise<T>; |
@@ -0,0 +0,0 @@ "use strict"; |
@@ -0,0 +0,0 @@ MIT License |
{ | ||
"name": "ts-retry-promise", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "retry for functions returning a promise", |
@@ -22,2 +22,4 @@ # ts-retry-promise # | ||
import { retry } from 'ts-retry-promise'; | ||
const result = await retry(() => Promise.resolve(1), {retries: 3}); | ||
``` | ||
@@ -24,0 +26,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
158
19285