Interface: KyooJob<T>
A job is a unit of work that can be processed by a worker. It contains a payload and optional metadata.
Type Parameters
Type Parameter | Default type |
---|---|
T | KyooSerializable |
Properties
Property | Type |
---|---|
expiration | null | DateTime <boolean > |
headers | Record <string , KyooSerializable > |
id | string |
maxAttempts | number |
payload | T |
persistent | boolean |
priority | KyooJobPriority |