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

Method set_then

src/fl/task/task.cpp.hpp:124–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122 , mLastRunTime((numeric_limits<u32>::max)()) {}
123
124 void set_then(function<void()> on_then) override {
125 mThenCallback = fl::move(on_then);
126 mHasThen = true;
127 }
128
129 void set_catch(function<void(const Error&)> on_catch) override {
130 mCatchCallback = fl::move(on_catch);

Callers 1

task.cpp.hppFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected