Lock to control task execution concurrency.
Underlying task queue.
Private _pendingPrivate Readonly lockLock to control task execution concurrency.
Private pausedPrivate Readonly queueUnderlying task queue.
Private queuedReturns the number of running but unfinished tasks.
Returns the total number of unfinished tasks.
Returns if this has started.
Closes this object and releases any system resource associated with it.
Optional options: AbortOptionsPolls and waits for the top queue task to complete.
Optional options: AbortOptionsPrivate pollAdds a task to this TaskQueue.
Optional options: TaskOptionsPrivate runPrivate runGenerated using TypeDoc
A queue of async tasks.