the task element
the worker value
Type: a queue of tasks
Number of active workers
The maximum number of concurrent workers
Returns a new blank internal queue of tasks
How often to update task statuses (in milliseconds)
A queue of tasks
The worker constructor
The first element in the queue
Returns an asynchronous iterator over the queue elements
Returns an iterator over the queue elements
Clears the queue
Creates a new queue based on the current one and returns it
Executes a task chunk from the queue (deferred version)
Executes a task chunk from the queue
Removes the head element from the queue and returns it
Adds a new element to the queue
Provides a task result to the specified promise resolve function
Alias to pop
Starts an execution of tasks from the queue
Alias to push
Returns an iterator over the queue elements
Implementation of a worker queue data structure