hexo/node_modules/stubborn-fs/dist/retryify.d.ts

4 lines
321 B
TypeScript
Raw Normal View History

2024-05-09 16:35:20 +08:00
declare const retryifyAsync: <FN extends Function>(fn: FN, isRetriableError: (error: unknown) => boolean | void) => (timeout: number) => FN;
declare const retryifySync: <FN extends Function>(fn: FN, isRetriableError: (error: unknown) => boolean | void) => (timeout: number) => FN;
export { retryifyAsync, retryifySync };