Creates a new analyze worker instance.
The validator instance.
The config instance.
The logger instance.
The connector instance.
The router instance.
The optional spec object.
Gracefully closes the worker.
The worker stops processing new jobs and waits for current jobs to complete. This method should be called during application shutdown to ensure all pending jobs are completed and resources are released.
Starts the worker, enabling it to process jobs.
The worker will begin processing jobs from the queue based on its specification. This method should be called during application bootstrap after all processors have been registered with the router.
StaticregisterRegisters the analyze worker as a singleton in the DI container.
The DI container to register in.
Optionalspec: BullConsumerWorkerSpec
Bull-based analyze worker implementation.
Depends:
Example