ThreadPoolTaskHandler
A task handler that manages dependencies and executes tasks in a thread pool.all_tasks_completed
bool: True if all tasks are completed, False otherwise.
get_children
get_result
get_retry_count
get_status
task_id(str): The ID of the task.
TaskStatus: The status of the task.
increment_retry
task_id(str): The ID of the task.
submit_task
task_id(str): The ID of the task.async_fn(Union[Callable[[], Awaitable[Any]], Coroutine]): The async function to submit to the thread pool.dependent_on_prev(bool): Whether the task depends on the previous task.