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

Method isCoroutine

src/fl/task/task.cpp.hpp:313–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

311bool Handle::ready_to_run(fl::u32 current_time) const { return mImpl ? mImpl->ready_to_run(current_time) : false; }
312bool Handle::is_valid() const { return mImpl != nullptr; }
313bool Handle::isCoroutine() const { return mImpl && mImpl->type() == TaskType::kCoroutine; }
314
315// Coroutine control
316void Handle::stop() { if (mImpl) mImpl->stop(); }

Callers 1

FL_TEST_FILEFunction · 0.80

Calls 1

typeMethod · 0.45

Tested by

no test coverage detected