MCPcopy Create free account
hub / github.com/FastLED/FastLED / start

Method start

ci/util/meson_example_runner.py:61–70  ·  view source on GitHub ↗

Start the heartbeat thread.

(self, message: str = "Compiling")

Source from the content-addressed store, hash-verified

59 self._last_message = ""
60
61 def start(self, message: str = "Compiling") -> None:
62 """Start the heartbeat thread."""
63 if not _IS_CI:
64 return # Only run heartbeat in CI environments
65
66 self._last_message = message
67 self._start_time = time.time()
68 self._stop_event.clear()
69 self._thread = threading.Thread(target=self._heartbeat_loop, daemon=True)
70 self._thread.start()
71
72 def update_message(self, message: str) -> None:
73 """Update the status message shown in heartbeat."""

Callers 12

compile_examplesFunction · 0.95
run_examplesFunction · 0.95
_run_parallelMethod · 0.45
_run_sequentialMethod · 0.45
setup_watchdogFunction · 0.45
setup_force_exitFunction · 0.45
get_required_packagesFunction · 0.45
run_fbuild_compileFunction · 0.45
start_displayMethod · 0.45
start_monitoringMethod · 0.45

Calls 2

timeMethod · 0.80
clearMethod · 0.45

Tested by 3

setup_watchdogFunction · 0.36
setup_force_exitFunction · 0.36
start_monitoringMethod · 0.36