| 169 | private: |
| 170 | struct State { |
| 171 | State(AsyncGenerator<T> source, std::function<Future<V>(const T&)> map) |
| 172 | : source(std::move(source)), |
| 173 | map(std::move(map)), |
| 174 | waiting_jobs(), |
| 175 | mutex(), |
| 176 | finished(false) {} |
| 177 | |
| 178 | void Purge() { |
| 179 | // This might be called by an original callback (if the source iterator fails or |
nothing calls this directly
no outgoing calls
no test coverage detected