> ## 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.

# TaskRunner.RegisterTasks

```go theme={"system"}
func (*TaskRunner) RegisterTasks(tasks ...workflows.ExecutableTask) error
```

Register tasks that can be executed by this task runner.

## Parameters

<ParamField path="tasks" type="[]ExecutableTask">
  A list of task classes that this runner can execute
</ParamField>

## Returns

An error if the tasks could not be registered.

<RequestExample>
  ```go Go theme={"system"}
  err := runner.RegisterTasks(
      &MyTask{},
      &MyOtherTask{},
  )
  ```
</RequestExample>
