func (*TaskRunner) RegisterTasks(tasks ...workflows.ExecutableTask) error
Register tasks that can be executed by this task runner.
Parameters
A list of task classes that this runner can execute
Returns
An error if the tasks could not be registered.
err := runner.RegisterTasks(
&MyTask{},
&MyOtherTask{},
)