188 {
189 if (!
valid())
return false;
191 }
fl::shared_ptr< detail::PromiseImpl< T > > mImpl
Shared pointer to implementation - this allows copying and sharing Promise state.
bool valid() const FL_NO_EXCEPT
Check if Promise is valid.
const T & value() const FL_NO_EXCEPT
Get the result value (only valid if is_resolved() returns true)
Promise class that provides fluent .then() and .catch_() semantics This is a lightweight wrapper arou...