| 3135 | } |
| 3136 | |
| 3137 | ContinueFuture Task::taskReadyToRunFuture(bool doSchedule) { |
| 3138 | auto self = shared_from_this(); |
| 3139 | if (!ExecutorTaskScheduler::instance().waitForScheduling(self, doSchedule)) { |
| 3140 | return ContinueFuture(); |
| 3141 | } |
| 3142 | auto [promise, future] = makeBoltContinuePromiseContract( |
| 3143 | fmt::format("Task::taskReadyToRunFuture {}", taskId_)); |
| 3144 | taskReadyToRunPromises_.emplace_back(std::move(promise)); |
| 3145 | return std::move(future); |
| 3146 | } |
| 3147 | |
| 3148 | void Task::notifyReadyToRun() { |
| 3149 | EventCompletionNotifier readyToRunNotifier; |
no test coverage detected