MCPcopy Create free account
hub / github.com/agent0ai/agent-zero / start_task

Method start_task

helpers/defer.py:92–99  ·  view source on GitHub ↗
(
        self, func: Callable[..., Coroutine[Any, Any, Any]], *args: Any, **kwargs: Any
    )

Source from the content-addressed store, hash-verified

90 self.children: list[ChildTask] = []
91
92 def start_task(
93 self, func: Callable[..., Coroutine[Any, Any, Any]], *args: Any, **kwargs: Any
94 ):
95 self.func = func
96 self.args = args
97 self.kwargs = kwargs
98 self._start_task()
99 return self
100
101 def __del__(self):
102 self.kill()

Callers 15

_run_taskMethod · 0.95
start_parallel_jobsFunction · 0.95
executeMethod · 0.95
executeMethod · 0.95
close_runtime_syncFunction · 0.95
close_all_runtimes_syncFunction · 0.95
executeMethod · 0.95
run_taskMethod · 0.45
initialize_chatsFunction · 0.45
initialize_mcpFunction · 0.45
initialize_job_loopFunction · 0.45
initialize_preloadFunction · 0.45

Calls 1

_start_taskMethod · 0.95

Tested by

no test coverage detected