Skip to content

JobRun

One job as a handler sees it. data has the envelope removed.

Name extends string = string

Data = unknown

readonly attempt: number

This attempt, counting from 1.


readonly context: Readonly<Record<string, string>>

The fields the producer’s JobContextHook captured.


readonly data: Data


readonly id: string


readonly maxAttempts: number


readonly name: Name


readonly queue: string


readonly raw: Job

The BullMQ job, for what this view does not carry (progress, logs).