Parameters
workflows.TaskExecutor
required
The executor that reports task capabilities and executes leased tasks.
[]runner.Option
Options for initializing the polling runner.
Options
default:""
The cluster to poll for tasks. If not provided, the default cluster is used.
default:"slog.Default()"
Set the logger to use for the polling runner.