hexo/node_modules/atomically/dist/utils/retryify_queue.d.ts

16 lines
418 B
TypeScript
Raw Normal View History

2023-09-25 15:58:56 +08:00
/// <reference types="node" />
declare const RetryfyQueue: {
interval: number;
intervalId: NodeJS.Timeout | undefined;
limit: number;
queueActive: Set<Function>;
queueWaiting: Set<Function>;
init: () => void;
reset: () => void;
add: (fn: Function) => void;
remove: (fn: Function) => void;
schedule: () => Promise<Function>;
tick: () => void;
};
export default RetryfyQueue;