|
FastLED 3.10.8
|
|
inline |
Setup async task for JSON-RPC processing.
| remote_control | Reference to RemoteControl singleton |
| interval_ms | Task interval in milliseconds (default: 10ms) |
This function creates an async task that polls the RPC system at regular intervals, allowing RPC commands to be processed without blocking the main loop.
The 10ms default interval balances:
The task is automatically registered with the scheduler via .then() and will run until the program exits.
THREAD SAFETY:
Definition at line 43 of file AutoResearchAsync.h.
References fl::task::every_ms(), FL_TRACE, fl::task::Handle::then(), and AutoResearchRemoteControl::tick().
Here is the call graph for this function: