FastLED 3.9.15
Loading...
Searching...
No Matches

◆ set_catch()

void fl::TaskImpl::set_catch ( fl::function< void(const Error &)> on_catch)

Definition at line 80 of file task.cpp.

80 {
81 mCatchCallback = fl::move(on_catch);
82 mHasCatch = true;
83}
function< void(const Error &)> mCatchCallback
Definition task.h:185
bool mHasCatch
Definition task.h:181
constexpr remove_reference< T >::type && move(T &&t) noexcept
Definition move.h:27

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

+ Here is the call graph for this function: