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

Method is_valid

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

Source from the content-addressed store, hash-verified

310void Handle::set_last_run_time(fl::u32 time) { if (mImpl) mImpl->set_last_run_time(time); }
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

Callers 15

add_taskMethod · 0.45
updateMethod · 0.45
update_tasks_of_typeMethod · 0.45
setIntervalMethod · 0.45
detach_handlerFunction · 0.45
enable_handlerFunction · 0.45
disable_handlerFunction · 0.45
is_handler_enabledFunction · 0.45
detach_handlerFunction · 0.45
enable_handlerFunction · 0.45
disable_handlerFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected