|
FastLED 3.9.15
|
|
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 34 of file AutoResearchAsync.h.
References fl::task::every_ms(), FL_TRACE, fl::task::Handle::then(), and AutoResearchRemoteControl::tick().
Referenced by setup().
Here is the call graph for this function:
Here is the caller graph for this function: