|
FastLED 3.9.15
|
|
inline |
Await promise completion in a coroutine (Trampoline to platform implementation)
| T | The type of value the promise resolves to |
| p | The promise to await |
This is the public API for awaiting promises in coroutines. It delegates to the platform-specific implementation in fl::platforms::await().
REQUIREMENTS:
SAFETY: Unlike await_top_level(), this does NOT busy-wait. The coroutine is suspended by the OS scheduler and wakes when the promise completes, with zero CPU overhead.
Definition at line 305 of file executor.h.
Referenced by AutoResearchRemoteControl::registerFunctions().
Here is the caller graph for this function: