Files
pixelheros/extensions/Excel转JSON/node_modules/atomically/dist/utils/retryify.d.ts
walkpan 8f57f57c1d dd
2024-08-18 23:38:55 +08:00

5 lines
349 B
TypeScript

import { Exception, FN } from '../types';
declare const retryifyAsync: <T extends FN<any[], any>>(fn: T, isRetriableError: FN<[Exception], boolean | void>) => FN<[number], T>;
declare const retryifySync: <T extends FN<any[], any>>(fn: T, isRetriableError: FN<[Exception], boolean | void>) => FN<[number], T>;
export { retryifyAsync, retryifySync };