Defines a job queue strategy that can be inspected using the default admin ui
JobQueueStrategyReturns a job by its id.
(options?: JobListOptions) => Promise<PaginatedList<Job>>Returns a list of jobs according to the specified options.
Returns an array of jobs for the given ids.
(queueNames?: string[], olderThan?: Date) => Promise<number>Remove all settled jobs in the specified queues older than the given date. If no queueName is passed, all queues will be considered. If no olderThan date is passed, all jobs older than the current time will be removed.
Returns a promise of the number of jobs removed.
booleanv3.8.1trueWhether the Admin API encodes and decodes job ids with the configured EntityIdStrategy. This is correct when job ids are database primary keys, as with the SqlJobQueueStrategy.
Set this to false if the job ids are generated by the job queue itself, as with the
BullMQJobQueueStrategy. The ids are then passed through the Admin API unchanged. Otherwise
an id which the EntityIdStrategy cannot decode, such as a UUID with the default
AutoIncrementIdStrategy, cannot be used to look up the job.