Creates an ImportQueue with the given processing callbacks.
Process function and optional completion hooks.
Adds a job to the queue and starts processing if idle.
The job to enqueue.
Adds multiple jobs to the queue and starts processing if idle.
Array of jobs to enqueue.
Returns the number of jobs waiting (not including the one currently processing).
Pending queue length.
Returns whether a job is currently being processed.
True if processing is active.
Returns true if the queue has pending jobs or is actively processing.
True if not idle.
Generic sequential job queue that processes items via a provided callback.