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

Method stop_all

src/platforms/shared/coroutine_context.cpp.hpp:265–274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265void CoroutineRunner::stop_all() FL_NOEXCEPT {
266 for (size_t i = 0; i < mCount; ++i) {
267 if (mQueue[i]) {
268 mQueue[i]->stop_and_complete();
269 mQueue[i] = nullptr;
270 }
271 }
272 mCount = 0;
273 mNextIndex = 0;
274}
275
276} // namespace platforms
277} // namespace fl

Callers 1

Calls 1

stop_and_completeMethod · 0.80

Tested by

no test coverage detected