This class is used to represent queues of jobs waiting to be executed.
Protected
Private
Gets a job by the jobId. Also populates the job's credentials.
jobId
job with the given jobId
Returns whether the queue is empty.
true if empty; false otherwise
Returns the length of the redis queue.
length
Returns the job at the front of the queue without mutating the queue.
the job at the front or undefined if empty
Shifts everything in the queue forwards and pops out the job at the front.
the popped out job
Pushes a job onto the queue.
the job to push
Generated using TypeDoc
This class is used to represent queues of jobs waiting to be executed.