EnqueueJob
Defined in: packages/core/src/jobs/types.ts:154
One job in an enqueueMany() call, with the same scheduling and deduplication options.
Extends
Section titled “Extends”Omit<EnqueueOptions,"session">
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
T | unknown |
Properties
Section titled “Properties”Defined in: packages/core/src/jobs/types.ts:156
Defined in: packages/core/src/jobs/types.ts:155
priority?
Section titled “priority?”Defined in: packages/core/src/jobs/types.ts:140
Signed safe integer; higher values run first among due Jobs. Defaults to 0.
Inherited from
Section titled “Inherited from”runAt?
Section titled “runAt?”Defined in: packages/core/src/jobs/types.ts:149
When the job should be processed. Defaults to immediately (new Date()).
Inherited from
Section titled “Inherited from”uniqueKey?
Section titled “uniqueKey?”Defined in: packages/core/src/jobs/types.ts:145
Deduplication key. If a job with this key is already pending or processing, the enqueue operation will not create a duplicate.