Optional
options: Partial<QueueOptions<TInput, TOutput, TProgress>>Enqueues a new task to be executed by the queue. This method is synchronous and does not
await completion of the task. Use the taskRef.completed
promise to await completion.
Optional
options: TaskOptionsRetrieves diagnostic information about task state and the queue itself.
Generated using TypeDoc
Immediately aborts all currently running tasks. Once a queue has been drained it cannot be used again.