WorkerOptions
Defined in: packages/core/src/workers/types.ts:13
Options for registering a worker.
Example
Section titled “Example”Properties
Section titled “Properties”concurrency?
Section titled “concurrency?”Defined in: packages/core/src/workers/types.ts:18
Number of concurrent jobs this worker can process.
Default
Section titled “Default”replace?
Section titled “replace?”Defined in: packages/core/src/workers/types.ts:25
Allow replacing an existing worker for the same job name. If false (default) and a worker already exists, throws WorkerRegistrationError.