Interface: KyooJobToEnqueue<T>
Describes the shape of a job which should be enqueued.
Type Parameters
Type Parameter | Default type |
---|---|
T | any |
Properties
Property | Type |
---|---|
expiration? | DateTime <boolean > |
headers? | Record <string , KyooSerializable > |
id? | string |
maxAttempts? | number |
payload | T |
persistent? | boolean |
priority? | KyooJobPriority |