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

◆ is_completed()

template<typename T>
bool fl::task::detail::PromiseImpl< T >::is_completed ( ) const
inline

Check if Promise is completed.

Definition at line 321 of file promise.h.

321 {
322 return state() != PromiseState_t::PENDING;
323 }
PromiseState_t state() const FL_NOEXCEPT
Read the state atomically.
Definition promise.h:356
Implementation class for Promise - holds the actual state and logic.
Definition promise.h:245

References FL_NOEXCEPT, fl::task::detail::PENDING, and state().

Referenced by update().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: