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

16 lines
433 B
TypeScript
Raw Normal View History

2023-10-03 11:14:36 +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;