UNPKG

parse

Version:
12 lines (11 loc) 241 B
interface Task { task: () => Promise<void>; _completion: any; } declare class TaskQueue { queue: Task[]; constructor(); enqueue(task: () => Promise<void>): Promise<void>; _dequeue(): void; } export default TaskQueue;