ghaction-upx/node_modules/@actions/tool-cache/lib/retry-helper.d.ts
2020-03-09 14:24:46 +00:00

13 lines
327 B
TypeScript

/**
* Internal class for retries
*/
export declare class RetryHelper {
private maxAttempts;
private minSeconds;
private maxSeconds;
constructor(maxAttempts: number, minSeconds: number, maxSeconds: number);
execute<T>(action: () => Promise<T>): Promise<T>;
private getSleepAmount;
private sleep;
}