6 lines
208 B
TypeScript
6 lines
208 B
TypeScript
export interface RetryError extends Error {
|
|
retry: Promise<any>;
|
|
}
|
|
export declare function handleRetriesFor(code: Function): Promise<any>;
|
|
export declare function retryAfter(promise: Promise<any>): void;
|