JobRun
One job as a handler sees it. data has the envelope removed.
Type Parameters
Section titled “Type Parameters”Name extends string = string
Data = unknown
Properties
Section titled “Properties”attempt
Section titled “attempt”
readonlyattempt:number
This attempt, counting from 1.
context
Section titled “context”
readonlycontext:Readonly<Record<string,string>>
The fields the producer’s JobContextHook captured.
readonlydata:Data
readonlyid:string
maxAttempts
Section titled “maxAttempts”
readonlymaxAttempts:number
readonlyname:Name
readonlyqueue:string
readonlyraw:Job
The BullMQ job, for what this view does not carry (progress, logs).