export default class AsyncTaskManager {
rateLimit: number;
private running;
private waiting;
run
(fx: (...a: any[]) => Promise
): Promise
;
wait(): Promise;
/**
* You can queue this function that will be
* executed after all pending fetch tasks
* are finished
* @param fx any function
*/
runAfterEnd(fx: () => any): void;
protected processQueue(): void;
}
//# sourceMappingURL=AsyncTaskManager.d.ts.map