Class TakaroWorker<T>Abstract
Constructors
constructor
- new TakaroWorker<T>(
name: string,
concurrency?: number,
fn: Processor<T, unknown>,
extraBullOpts?: WorkerOptionsWithoutConnectionOptions,
): TakaroWorker<T> Parameters
- name: string
- concurrency: number = 1
- fn: Processor<T, unknown>
- extraBullOpts: WorkerOptionsWithoutConnectionOptions = {}
Properties
bullWorker
bullWorker: Worker<T, unknown>