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

◆ process_callbacks()

template<typename T>
void fl::detail::PromiseImpl< T >::process_callbacks ( )
inlineprivate

Process pending callbacks.

Definition at line 369 of file promise.h.

369 {
370 if (mCallbacksProcessed) return;
371
376 }
377
378 mCallbacksProcessed = true;
379 }
PromiseState_t mState
Definition promise.h:359
fl::function< void(const T &)> mThenCallback
Definition promise.h:363
fl::function< void(const Error &)> mCatchCallback
Definition promise.h:364
Implementation class for promise - holds the actual state and logic.
Definition promise.h:259

References mCallbacksProcessed, mCatchCallback, mError, mState, mThenCallback, mValue, fl::detail::REJECTED, and fl::detail::RESOLVED.

Referenced by reject(), resolve(), resolve(), set_catch_callback(), set_then_callback(), and update().

+ Here is the caller graph for this function: