async-retry.ts
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,4 +1,9 @@ | ||
declare type Handlers = { | ||
error: string | RegExp; | ||
handler: () => void; | ||
}[]; | ||
export default class Action { | ||
static retry(action: any, maxRetryCount: any, handlers: any, logger?: Console): any; | ||
static retryAsync(action: any, maxRetryCount: any, handlers: any, logger?: Console): Promise<any>; | ||
static retry(action: () => void, maxRetryCount: number, handlers: Handlers, logger?: Console): any; | ||
static retryAsync(action: () => Promise<void>, maxRetryCount: number, handlers: Handlers, logger?: Console): Promise<any>; | ||
} | ||
export {}; |
@@ -17,2 +17,2 @@ "use strict"; | ||
exports.default = Action; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxvREFBaUM7QUFDakMsOERBQTJDO0FBRTNDLE1BQXFCLE1BQU07SUFDekIsTUFBTSxDQUFDLEtBQUssQ0FBQyxNQUFNLEVBQUUsYUFBYSxFQUFFLFFBQVEsRUFBRSxNQUFNLEdBQUcsT0FBTztRQUM1RCxPQUFPLGVBQVcsQ0FBQyxLQUFLLENBQUMsTUFBTSxFQUFFLGFBQWEsRUFBRSxRQUFRLEVBQUUsTUFBTSxDQUFDLENBQUE7SUFDbkUsQ0FBQztJQUVELE1BQU0sQ0FBQyxVQUFVLENBQUMsTUFBTSxFQUFFLGFBQWEsRUFBRSxRQUFRLEVBQUUsTUFBTSxHQUFHLE9BQU87UUFDakUsT0FBTyxvQkFBZ0IsQ0FBQyxLQUFLLENBQUMsTUFBTSxFQUFFLGFBQWEsRUFBRSxRQUFRLEVBQUUsTUFBTSxDQUFDLENBQUE7SUFDeEUsQ0FBQztDQUNGO0FBUkQseUJBUUMifQ== | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7QUFBQSxvREFBaUM7QUFDakMsOERBQTJDO0FBTzNDLE1BQXFCLE1BQU07SUFDekIsTUFBTSxDQUFDLEtBQUssQ0FBQyxNQUFrQixFQUFFLGFBQXFCLEVBQUUsUUFBa0IsRUFBRSxNQUFNLEdBQUcsT0FBTztRQUMxRixPQUFPLGVBQVcsQ0FBQyxLQUFLLENBQUMsTUFBTSxFQUFFLGFBQWEsRUFBRSxRQUFRLEVBQUUsTUFBTSxDQUFDLENBQUE7SUFDbkUsQ0FBQztJQUVELE1BQU0sQ0FBQyxVQUFVLENBQUMsTUFBMkIsRUFBRSxhQUFxQixFQUFFLFFBQWtCLEVBQUUsTUFBTSxHQUFHLE9BQU87UUFDeEcsT0FBTyxvQkFBZ0IsQ0FBQyxLQUFLLENBQUMsTUFBTSxFQUFFLGFBQWEsRUFBRSxRQUFRLEVBQUUsTUFBTSxDQUFDLENBQUE7SUFDeEUsQ0FBQztDQUNGO0FBUkQseUJBUUMifQ== |
{ | ||
"name": "async-retry.ts", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "async await version of co-retry.js(https://www.npmjs.com/package/co-retry.js), which can be used in both TypeScript and JavaScript.", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
16949
9
169
1