Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.tilebox.com/llms.txt

Use this file to discover all available pages before exploring further.

func (*TaskRunner) RegisterTasks(tasks ...workflows.ExecutableTask) error
Register tasks that can be executed by this task runner.

Parameters

tasks
[]ExecutableTask
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{},
)