mirror of
https://github.com/deployphp/action.git
synced 2024-11-27 06:09:01 +00:00
7 lines
490 B
TypeScript
7 lines
490 B
TypeScript
|
import { Duration } from './util.js';
|
||
|
export declare function retry<T>(count: number, callback: () => T): Promise<T>;
|
||
|
export declare function retry<T>(count: number, duration: Duration | Generator<number>, callback: () => T): Promise<T>;
|
||
|
export declare function expBackoff(max?: Duration, rand?: Duration): Generator<number, void, unknown>;
|
||
|
export declare function spinner<T>(callback: () => T): Promise<T>;
|
||
|
export declare function spinner<T>(title: string, callback: () => T): Promise<T>;
|