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

◆ create()

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

Create a pending promise.

Definition at line 75 of file promise.h.

75 {
77 return promise<T>(impl);
78 }
promise()
Default constructor - creates invalid promise.
Definition promise.h:107
Promise class that provides fluent .then() and .catch_() semantics This is a lightweight wrapper arou...
Definition promise.h:72

References promise(), and fl::make_shared().

Referenced by reject(), resolve(), and resolve().

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