FastLED 3.10.6
Loading...
Searching...
No Matches

◆ isCoroutine()

bool fl::task::Handle::isCoroutine ( ) const

Returns whether this handle refers to an OS-level coroutine.

Definition at line 313 of file task.cpp.hpp.

313{ return mImpl && mImpl->type() == TaskType::kCoroutine; }
shared_ptr< ITaskImpl > mImpl
Definition task.h:245
@ kCoroutine
Runs as an operating-system or RTOS task.
Definition task.h:122

References fl::task::kCoroutine, and mImpl.

Referenced by ready_to_run().

+ Here is the caller graph for this function: