OptionalconnectionExplicit BullMQ connection options. Use either redisUrl, connection, or
workerOptions.connection.
Static app context or per-job context factory.
OptionalerrorOptional error reporter used for job failures. A direct port can report failures before app context exists; a resolver is used after context has been created. Reporter failures are swallowed so BullMQ failure handling stays authoritative.
OptionalhooksHooks that wrap every job attempt executed by this worker. Worker hooks wrap job-local hooks.
OptionalinfrastructureContext-free fallback for validation, context-construction, and unknown-job failures, plus worker infrastructure errors, stalled jobs, and shutdown failures. Reporter failures are isolated from worker behavior.
OptionalinstrumentationOptional provider instrumentation target.
Job definitions this worker is allowed to execute. Retry policies are validated eagerly, so a job with retry options BullMQ cannot honor throws at worker creation instead of at first dispatch or processing.
OptionalprefixRedis key prefix. Defaults to "beignet" to match the provider default.
BullMQ queue name to consume.
OptionalredisRedis connection URL. Use this when the worker should share
BULLMQ_REDIS_URL with the provider entrypoint.
OptionalworkerBullMQ worker options. Pass autorun: false when the process should call
worker.run() manually.
Options for creating a BullMQ worker over Beignet job definitions.