FastLED 3.10.6
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_NO_EXCEPT
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::FL_NO_EXCEPT, and fl::make_shared().

Referenced by 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: