* Stops the FastLED animation loop (for external control) * @returns {Promise } Promise that resolves to true if stopped successfully, false otherwise
()
| 1041 | * @returns {Promise<boolean>} Promise that resolves to true if stopped successfully, false otherwise |
| 1042 | */ |
| 1043 | async function stopFastLED() { |
| 1044 | if (!fastLEDController) { |
| 1045 | console.error('FastLED controller not initialized'); |
| 1046 | return false; |
| 1047 | } |
| 1048 | await fastLEDController.stopWithWorkerSupport(); |
| 1049 | return true; |
| 1050 | } |
| 1051 | |
| 1052 | /** |
| 1053 | * Toggles the FastLED animation loop |
nothing calls this directly
no test coverage detected