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

Method complete_with_value

src/fl/task/promise.h:183–186  ·  view source on GitHub ↗

Complete the Promise with a result (used by networking library)

Source from the content-addressed store, hash-verified

181
182 /// Complete the Promise with a result (used by networking library)
183 bool complete_with_value(const T& value) FL_NOEXCEPT {
184 if (!valid()) return false;
185 return mImpl->resolve(value);
186 }
187
188 bool complete_with_value(T&& value) FL_NOEXCEPT {
189 if (!valid()) return false;

Callers 9

resolveMethod · 0.80
complete_successMethod · 0.80
resolveRpcMethod · 0.80
resolveRpcStreamMethod · 0.80
execute_fetch_requestFunction · 0.80
FL_TEST_FILEFunction · 0.80
delayed_resolveFunction · 0.80
FL_TEST_FILEFunction · 0.80
registerFunctionsMethod · 0.80

Calls 1

resolveMethod · 0.45

Tested by

no test coverage detected