MCPcopy Create free account
hub / github.com/FastLED/FastLED / is_rejected

Method is_rejected

src/fl/task/promise.h:152–155  ·  view source on GitHub ↗

Check if Promise is rejected (completed with error)

Source from the content-addressed store, hash-verified

150
151 /// Check if Promise is rejected (completed with error)
152 bool is_rejected() const FL_NOEXCEPT {
153 if (!valid()) return false;
154 return mImpl->is_rejected();
155 }
156
157 /// Get the result value (only valid if is_resolved() returns true)
158 const T& value() const FL_NOEXCEPT {

Callers 2

FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected