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

Method __init__

helpers/defer.py:16–19  ·  view source on GitHub ↗

Initialize the event loop thread.

(self, thread_name: str = THREAD_BACKGROUND)

Source from the content-addressed store, hash-verified

14 _lock = threading.Lock()
15
16 def __init__(self, thread_name: str = THREAD_BACKGROUND) -> None:
17 """Initialize the event loop thread."""
18 self.thread_name = thread_name
19 self._start()
20
21 def __new__(cls, thread_name: str = THREAD_BACKGROUND):
22 with cls._lock:

Callers

nothing calls this directly

Calls 1

_startMethod · 0.95

Tested by

no test coverage detected