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

Method clear_all_tasks

src/fl/task/scheduler.h:27–27  ·  view source on GitHub ↗

For testing: clear all tasks

Source from the content-addressed store, hash-verified

25
26 // For testing: clear all tasks
27 void clear_all_tasks() { mTasks.clear(); mNextTaskId.store(1); }
28
29private:
30 friend class fl::Singleton<Scheduler>;

Callers 2

FL_TEST_FILEFunction · 0.80
FL_TEST_FILEFunction · 0.80

Calls 2

clearMethod · 0.45
storeMethod · 0.45

Tested by

no test coverage detected