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

Method resolve

src/fl/task/promise.h:67–71  ·  view source on GitHub ↗

Create a resolved Promise with value

Source from the content-addressed store, hash-verified

65
66 /// Create a resolved Promise with value
67 static Promise<T> resolve(const T& value) FL_NOEXCEPT { // okay static in header
68 auto p = create();
69 p.complete_with_value(value);
70 return p;
71 }
72
73 /// Create a resolved Promise with value (move version)
74 static Promise<T> resolve(T&& value) FL_NOEXCEPT { // okay static in header

Callers 15

complete_with_valueMethod · 0.45
_loadFastLEDFunction · 0.45
initializeMethod · 0.45
setup_eslintFunction · 0.45
run_testFunction · 0.45
_resolve_fast_native_cxxFunction · 0.45
_run_with_timeoutMethod · 0.45
_get_project_hashMethod · 0.45
parse_dependency_fileFunction · 0.45
ci-iwyu.pyFile · 0.45
scan_single_fileFunction · 0.45

Calls 2

createFunction · 0.85
complete_with_valueMethod · 0.80