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

◆ is_rejected()

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

Check if promise is rejected (completed with error)

Definition at line 166 of file promise.h.

166 {
167 if (!valid()) return false;
168 return mImpl->is_rejected();
169 }
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().

+ Here is the call graph for this function: