The payload for this job.
The options object for this job.
Optional
id: stringOptional
idMoves a job to the failed queue.
void
the jobs error message.
token to check job is locked by current worker
true when wanting to fetch the next job
Moves the job to the waiting-children set.
true if the job was moved
Token to check job is locked by current worker
The options bag for moving a job to waiting-children.
Static
fromJSONInstantiates a Job from a JobJsonRaw object (coming from a deserialized JSON object)
the queue where the job belongs to.
the plain object containing the job.
Optional
jobId: stringan optional job id (overrides the id coming from the JSON object)
Generated using TypeDoc
The name of the Job