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