| 80 | } |
| 81 | |
| 82 | int QueryContext::RegisterTaskGroup(std::function<Status(size_t, int64_t)> task, |
| 83 | std::function<Status(size_t)> on_finished) { |
| 84 | return task_scheduler_->RegisterTaskGroup(std::move(task), std::move(on_finished)); |
| 85 | } |
| 86 | |
| 87 | Status QueryContext::StartTaskGroup(int task_group_id, int64_t num_tasks) { |
| 88 | return task_scheduler_->StartTaskGroup(GetThreadIndex(), task_group_id, num_tasks); |
nothing calls this directly
no outgoing calls
no test coverage detected