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

Function startFastLED

src/platforms/wasm/compiler/index.ts:1031–1037  ·  view source on GitHub ↗

* Starts the FastLED animation loop (for external control) * @returns {Promise } Promise that resolves when start is complete

()

Source from the content-addressed store, hash-verified

1029 * @returns {Promise<void>} Promise that resolves when start is complete
1030 */
1031async function startFastLED() {
1032 if (!fastLEDController) {
1033 console.error('FastLED controller not initialized');
1034 return;
1035 }
1036 await fastLEDController.startWithWorkerSupport();
1037}
1038
1039/**
1040 * Stops the FastLED animation loop (for external control)

Callers

nothing calls this directly

Calls 2

errorMethod · 0.45

Tested by

no test coverage detected