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

Method cancel_all

ci/compiler/pio.py:379–386  ·  view source on GitHub ↗

Cancel all builds.

(self)

Source from the content-addressed store, hash-verified

377 return result
378
379 def cancel_all(self) -> None:
380 """Cancel all builds."""
381 # Provide immediate feedback that cancellation is starting
382 sys.stdout.write(" → Shutting down build executor...\n")
383 sys.stdout.flush()
384 self.executor.shutdown(wait=False, cancel_futures=True)
385 sys.stdout.write(" → Executor shutdown complete\n")
386 sys.stdout.flush()
387
388 def build(self, examples: list[str]) -> list[Future[SketchResult]]:
389 """Build a list of examples with proper lock management.

Callers 1

compile_board_examplesFunction · 0.95

Calls 3

writeMethod · 0.45
flushMethod · 0.45
shutdownMethod · 0.45

Tested by

no test coverage detected