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

◆ valid()

template<typename T>
bool fl::task::Promise< T >::valid ( ) const
inline

Check if Promise is valid.

Definition at line 108 of file promise.h.

108 {
109 return mImpl != nullptr;
110 }
fl::shared_ptr< detail::PromiseImpl< T > > mImpl
Shared pointer to implementation - this allows copying and sharing Promise state.
Definition promise.h:209

References FL_NOEXCEPT, and mImpl.

Referenced by fl::task::await_top_level(), catch_(), complete_with_error(), complete_with_error(), complete_with_value(), complete_with_value(), error(), is_completed(), is_rejected(), is_resolved(), then(), update(), and value().

+ Here is the caller graph for this function: