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

◆ is_resolved()

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

Check if promise is resolved (completed successfully)

Definition at line 160 of file promise.h.

160 {
161 if (!valid()) return false;
162 return mImpl->is_resolved();
163 }
bool valid() const
Check if promise is valid.
Definition promise.h:122
fl::shared_ptr< detail::PromiseImpl< T > > mImpl
Shared pointer to implementation - this allows copying and sharing promise state.
Definition promise.h:223

References mImpl, and valid().

Referenced by fl::await_top_level().

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