Optionalprocessor: string | URL | ProcessorPro<DataType, ResultType, NameType>Optionalopts: WorkerProOptionsStaticRateGets the worker-wide maximum number of jobs that can be processed simultaneously within a given group, or undefined if not set.
Sets the worker-wide maximum number of jobs that can be processed
simultaneously within a given group. The new value applies to every
group that does not have a local concurrency set via
QueuePro.setGroupConcurrency.
Only workers created with group.concurrency can change it, since
workers without it do not track active jobs per group.
positive integer.
Returns a promise that resolves to the next job in queue.
worker token to be assigned to retrieved job
a JobPro or undefined if no job was available in the queue.
Overrides the rate limit so that it becomes active for the given group.
Job currently being processed, and whose group we want to rate limit.
Expire time in ms of this rate limit.
See
Worker