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

Method stop

src/platforms/arm/teensy/coroutine_teensy.impl.hpp:311–318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

309}
310
311void TaskCoroutineTeensy::stop() FL_NOEXCEPT {
312 if (!mContext) return;
313
314 mContext->stop_and_complete();
315
316 // Remove from runner queue
317 CoroutineRunner::instance().remove(mContext.get());
318}
319
320bool TaskCoroutineTeensy::isRunning() const FL_NOEXCEPT {
321 if (!mContext) return false;

Callers

nothing calls this directly

Calls 3

stop_and_completeMethod · 0.80
removeMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected