FastLED 3.9.15
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 56 of file promise_result.h.

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

References error(), fl::move(), and mResult.

+ Here is the call graph for this function: