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

◆ valid()

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

Check if promise is valid.

Definition at line 122 of file promise.h.

122 {
123 return mImpl != nullptr;
124 }
fl::shared_ptr< detail::PromiseImpl< T > > mImpl
Shared pointer to implementation - this allows copying and sharing promise state.
Definition promise.h:223

References mImpl.

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

+ Here is the caller graph for this function: