MCPcopy Create free account
hub / github.com/FastLED/FastLED / warn_no_then

Method warn_no_then

src/fl/task/scheduler.cpp.hpp:112–118  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110}
111
112void Scheduler::warn_no_then(int task_id, const fl::string& trace_label) {
113 if (!trace_label.empty()) {
114 FL_WARN(fl::string("[fl::task] Warning: no then() callback set for Task#") << task_id << " launched at " << trace_label);
115 } else {
116 FL_WARN(fl::string("[fl::task] Warning: no then() callback set for Task#") << task_id);
117 }
118}
119
120void Scheduler::warn_no_catch(int task_id, const fl::string& trace_label, const Error& error) {
121 if (!trace_label.empty()) {

Callers

nothing calls this directly

Calls 2

stringClass · 0.50
emptyMethod · 0.45

Tested by

no test coverage detected