| 3406 | } |
| 3407 | |
| 3408 | Status FinishedCallback(int64_t total_num_batches) { |
| 3409 | ARROW_RETURN_NOT_OK( |
| 3410 | output_->InputFinished(this, static_cast<int>(total_num_batches))); |
| 3411 | finished_generating_.store(true); |
| 3412 | return Status::OK(); |
| 3413 | } |
| 3414 | |
| 3415 | Status ScheduleTaskCallback(std::function<Status(size_t)> func) { |
| 3416 | if (finished_generating_.load()) return Status::OK(); |
no test coverage detected