FastLED 3.9.15
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_NOEXCEPT
Definition s16x16x4.h:28

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

+ Here is the call graph for this function: