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

Method register_runner

src/fl/task/executor.cpp.hpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30}
31
32void Executor::register_runner(Runner* r) {
33 if (r && fl::find(mRunners.begin(), mRunners.end(), r) == mRunners.end()) {
34 mRunners.push_back(r);
35 }
36}
37
38void Executor::unregister_runner(Runner* r) {
39 auto it = fl::find(mRunners.begin(), mRunners.end(), r);

Callers 4

register_promiseMethod · 0.80
startMethod · 0.80
FL_TEST_FILEFunction · 0.80
FL_TEST_FILEFunction · 0.80

Calls 4

findFunction · 0.50
beginMethod · 0.45
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected