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

Method stop_and_complete

src/platforms/coroutine_runtime.h:232–235  ·  view source on GitHub ↗

@brief Force-stop: sets both should_stop and completed flags. Used by runner and task wrappers to immediately mark a coroutine as done.

Source from the content-addressed store, hash-verified

230 /// @brief Force-stop: sets both should_stop and completed flags.
231 /// Used by runner and task wrappers to immediately mark a coroutine as done.
232 void stop_and_complete() FL_NOEXCEPT {
233 mShouldStop = true;
234 mCompleted = true;
235 }
236
237 /// @brief Ready predicate function signature
238 using ReadyFn = bool (*)(void*);

Callers 4

TaskCoroutineWasmClass · 0.80
stopMethod · 0.80
runMethod · 0.80
stop_allMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected