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

◆ create()

template<typename T>
static Promise< T > fl::task::Promise< T >::create ( )
inlinestatic

Create a pending Promise.

Definition at line 61 of file promise.h.

61 {
63 return Promise<T>(impl);
64 }
Promise() FL_NOEXCEPT
Default constructor - creates invalid Promise.
Definition promise.h:93
Promise class that provides fluent .then() and .catch_() semantics This is a lightweight wrapper arou...
Definition promise.h:58

References Promise(), FL_NOEXCEPT, and fl::make_shared().

Referenced by AutoResearchRemoteControl::registerFunctions(), reject(), resolve(), resolve(), fl::net::http::HttpStreamTransport::rpc(), and fl::net::http::HttpStreamTransport::rpcStream().

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