References
JobPro
Renames and re-exports JobQueuePro
Renames and re-exports QueueWorkerPro
Renames and re-exports WorkerType aliases
ProcessorPro
Processor
Pro
<T, R, N>: (job
: Job<T, R, N>, token
?: string) => Promise<R>Type parameters
T = any
R = any
N: string = string
Type declaration
- (job: Job<T, R, N>, token?: string): Promise<R>
Parameters
job: Job<T, R, N>
Optional token: string
Returns Promise<R>