| 152 | WeakFuture<ValueType> weak_fut; |
| 153 | |
| 154 | void operator()(const Status& st) { |
| 155 | auto fut = weak_fut.get(); |
| 156 | if (fut.is_valid()) { |
| 157 | fut.MarkFinished(st); |
| 158 | } |
| 159 | } |
| 160 | } stop_callback{WeakFuture<ValueType>(future)}; |
| 161 | ARROW_RETURN_NOT_OK(SpawnReal(hints, std::move(task), std::move(stop_token), |
| 162 | std::move(stop_callback))); |
nothing calls this directly
no test coverage detected