UNPKG

@atomist/automation-client

Version:
15 lines 507 B
import { WrapOptions } from "retry"; /** * Default retry options for doWithRetry. */ export declare const DefaultRetryOptions: WrapOptions; /** * Generic typed retry support * Perform the task, retrying according to the retry options * @param {() => Promise<R>} what * @param {string} description * @param {Object} opts * @return {Promise<R>} */ export declare function doWithRetry<R>(what: () => Promise<R>, description: string, opts?: WrapOptions): Promise<R>; //# sourceMappingURL=retry.d.ts.map