| 232 | } |
| 233 | |
| 234 | virtual Future<> Wait() { |
| 235 | std::vector<Future<>> futures; |
| 236 | for (auto& entry : entries) { |
| 237 | futures.emplace_back(MaybeRead(&entry)); |
| 238 | } |
| 239 | return AllComplete(futures); |
| 240 | } |
| 241 | |
| 242 | // Return a Future that completes when the given ranges have been read. |
| 243 | virtual Future<> WaitFor(std::vector<ReadRange> ranges) { |
nothing calls this directly
no test coverage detected