FastLED 3.10.6
Loading...
Searching...
No Matches

◆ set_catch()

void fl::task::TimeTask::set_catch ( function< void(const Error &)> on_catch)
inlineoverridevirtual

Implements fl::task::ITaskImpl.

Definition at line 129 of file task.cpp.hpp.

129 {
130 mCatchCallback = fl::move(on_catch);
131 mHasCatch = true;
132 }
function< void(const Error &)> mCatchCallback
Definition task.cpp.hpp:209
constexpr remove_reference< T >::type && move(T &&t) FL_NO_EXCEPT
Definition move.h:28

References mCatchCallback, mHasCatch, and fl::move().

+ Here is the call graph for this function: