Overrides an existing worker configuration in the framework.
This function partially updates a previously registered worker with new configuration. Only the provided fields will be updated, other fields remain unchanged.
Partial worker configuration object
Unique worker identifier (must exist)
Optional: Strategy to run
Optional: Exchange to run on
Optional: Lifecycle callbacks
overrideWorkerSchema({ workerName: "my-worker", strategyName: "another-strategy", // Only update the strategy}); Copy
overrideWorkerSchema({ workerName: "my-worker", strategyName: "another-strategy", // Only update the strategy});
Overrides an existing worker configuration in the framework.
This function partially updates a previously registered worker with new configuration. Only the provided fields will be updated, other fields remain unchanged.