MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / start

Method start

core/sysmon.py:50–57  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

48 # ── public API ────────────────────────────────────────────────────────────
49
50 def start(self) -> None:
51 if self._thread and self._thread.is_alive():
52 return
53 self._running = True
54 # Do one immediate read so the first render() call has real data
55 self._loop_once()
56 self._thread = threading.Thread(target=self._loop, daemon=True, name="sysmon")
57 self._thread.start()
58
59 def stop(self) -> None:
60 self._running = False

Callers

nothing calls this directly

Calls 1

_loop_onceMethod · 0.95

Tested by

no test coverage detected