# Functions
TaskFunc defines the type for the task function that returns a result and an error.
NewTaskBuilder creates a new TaskBuilder with the specified execution mode.
NewTaskManager creates a new TaskManager with the specified execution mode.
# Structs
Task represents an individual task.
TaskBuilder allows building and executing tasks in a chainable manner.
TaskManager manages and executes tasks concurrently or sequentially.
# Type aliases
ExecutionMode defines whether tasks should run in parallel or sequentially.
TaskFunc defines the type for the task function that returns a result and an error.