Interface: KyooJobMessage<M>
Describes the shape of the object that is passed to the job processor function.
Type Parameters
| Type Parameter | Default type |
|---|---|
M | KyooSerializable |
Properties
| Property | Type | Description |
|---|---|---|
attempts | number | The number of attempts made to process the job. |
job | KyooJob<M> | The job object. |
queue | string | The name of the queue from which the job was fetched. |
worker | string | The name of the worker that processed the job. |
