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

Method set_state

src/fl/task/promise.h:361–363  ·  view source on GitHub ↗

Write the state atomically

Source from the content-addressed store, hash-verified

359
360 /// Write the state atomically
361 void set_state(PromiseState_t s) FL_NOEXCEPT {
362 mState.store(static_cast<int>(s));
363 }
364
365 /// Process pending callbacks
366 void process_callbacks() FL_NOEXCEPT {

Callers

nothing calls this directly

Calls 1

storeMethod · 0.45

Tested by

no test coverage detected