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

◆ update()

template<typename T>
void fl::promise< T >::update ( )
inline

Update promise state in main loop - should be called periodically This processes pending callbacks when the promise completes.

Definition at line 148 of file promise.h.

148 {
149 if (!valid()) return;
150 mImpl->update();
151 }
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(), and fl::FetchManager::update().

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