Inserts job in queue where it will be order from left to right in decreasing order of nextRunAt and priority (in case of same nextRunAt), if all values are even the first jobs to be introduced will have priority
job to add to queue
Pops and returns last queue element (next job to be processed) without checking concurrency.
Next Job to be processed
Inserts job in first queue position
job to add to queue
Returns (does not pop, element remains in queue) first element (always from the right) that can be processed (not blocked by concurrency execution)
current status of jobs
Next Job to be processed
Generated using TypeDoc