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

◆ promise() [4/4]

template<typename T>
fl::promise< T >::promise ( fl::shared_ptr< detail::PromiseImpl< T > > impl)
inlineexplicitprivate

Constructor from shared implementation (used internally)

Definition at line 220 of file promise.h.

220: mImpl(impl) {}
fl::shared_ptr< detail::PromiseImpl< T > > mImpl
Shared pointer to implementation - this allows copying and sharing promise state.
Definition promise.h:223
Promise class that provides fluent .then() and .catch_() semantics This is a lightweight wrapper arou...
Definition promise.h:72

References mImpl.