FastLED 3.10.8
Loading...
Searching...
No Matches

◆ PromiseResult() [4/4]

template<typename T>
fl::task::PromiseResult< T >::PromiseResult ( Error && error)
inline

Construct an error PromiseResult (move)

Parameters
errorThe error value (moved)

Definition at line 57 of file promise_result.h.

const Error & error() const FL_NO_EXCEPT
Get the error value.
fl::variant< T, Error > mResult
Result type for promise operations.

References error(), fl::FL_NO_EXCEPT, and fl::adl_barrier::move().

+ Here is the call graph for this function: