11 lines
293 B
TypeScript
11 lines
293 B
TypeScript
declare type ScheduleCompleteCallback = () => void;
|
|
export declare class Scheduler {
|
|
private concurrency;
|
|
private logger;
|
|
private pending;
|
|
private running;
|
|
constructor(concurrency?: number);
|
|
private schedule;
|
|
next(): Promise<ScheduleCompleteCallback>;
|
|
}
|
|
export {};
|