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

◆ variant()

template<typename T>
const fl::variant< T, Error > & fl::task::PromiseResult< T >::variant ( ) const
inline

Access the underlying variant (for advanced usage)

Returns
Reference to the internal variant

Definition at line 121 of file promise_result.h.

121 {
122 return mResult;
123 }
fl::variant< T, Error > mResult

References fl::FL_NO_EXCEPT, and mResult.