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

◆ state()

template<typename T>
PromiseState_t fl::task::detail::PromiseImpl< T >::state ( ) const
inlineprivate

Read the state atomically.

Definition at line 356 of file promise.h.

356 {
357 return static_cast<PromiseState_t>(mState.load());
358 }
fl::atomic< int > mState
Definition promise.h:346
Implementation class for Promise - holds the actual state and logic.
Definition promise.h:245

References FL_NOEXCEPT, and mState.

Referenced by is_completed(), is_rejected(), is_resolved(), process_callbacks(), reject(), resolve(), resolve(), set_catch_callback(), and set_then_callback().

+ Here is the caller graph for this function: