github.com/jfrog/frogbot@v1.1.1-0.20231221090046-821a26f50338/action/node_modules/@actions/tool-cache/lib/retry-helper.d.ts (about) 1 /** 2 * Internal class for retries 3 */ 4 export declare class RetryHelper { 5 private maxAttempts; 6 private minSeconds; 7 private maxSeconds; 8 constructor(maxAttempts: number, minSeconds: number, maxSeconds: number); 9 execute<T>(action: () => Promise<T>, isRetryable?: (e: Error) => boolean): Promise<T>; 10 private getSleepAmount; 11 private sleep; 12 }