OptionalactivityOptionalautoEnable auto-restart on worker failure (default: inherits from global autoRestart)
OptionalautoOptionalmaxMaximum restart attempts before giving up (default: 3)
OptionalworkerOptionalworkflowWorkflow bundle. Prefer Temporal SDK's WorkflowBundleOption
({ code } or { codePath }). Loose shape accepted for backward
compatibility.
Optionalworkflows
Configuration for a single worker instance. Allows defining multiple workers with different task queues.
Example