export type Task = () => Promise; /** * A queue that takes in and runs asynchronous functions (tasks) in series. */ export declare class TaskQueue { #private; constructor(); /** * Runs a task function in the queue. * * @returns a promise that resolves to the same value as that which is * returned by the task function. */ run(task: Task): Promise; kill(): any; } //# sourceMappingURL=taskqueue.d.ts.map