FastLED 3.10.8
Loading...
Searching...
No Matches

◆ warn_no_then()

void fl::task::Scheduler::warn_no_then ( int task_id,
const fl::string & trace_label )
private

Definition at line 191 of file scheduler.cpp.hpp.

191 {
192 FL_UNUSED(task_id); // only consumed by FL_WARN, a no-op on small platforms
193 if (!trace_label.empty()) {
194 FL_WARN("[fl::task] Warning: no then() callback set for Task#" << task_id << " launched at " << trace_label);
195 } else {
196 FL_WARN("[fl::task] Warning: no then() callback set for Task#" << task_id);
197 }
198}
bool empty() const FL_NO_EXCEPT
#define FL_UNUSED(x)
#define FL_WARN(...)
Definition log.h:437

References fl::FL_NO_EXCEPT, FL_UNUSED, and FL_WARN.

Referenced by fl::Singleton< Scheduler >, update(), and update_tasks_of_type().

+ Here is the caller graph for this function: