UNPKG

@mieweb/wikigdrive

Version:

Google Drive to MarkDown synchronization

16 lines 437 B
export interface BackLog { taskId: number; type: string; payload: any; } export declare class WorkerPool { private readonly workers; private readonly threadIdToTaskId; private readonly backlog; private readonly promises; private taskIdCounter; constructor(workersCount?: number); runNext(): void; schedule<k, j>(type: string, payload: k): Promise<j>; } //# sourceMappingURL=WorkerPool.d.ts.map