| 1178 | final_error(Status::OK()) {} |
| 1179 | |
| 1180 | Future<AsyncGenerator<T>> PullSource() { |
| 1181 | // Need to guard access to source() so we don't pull sync-reentrantly which |
| 1182 | // is never valid. |
| 1183 | auto lock = mutex.Lock(); |
| 1184 | return source(); |
| 1185 | } |
| 1186 | |
| 1187 | void SignalErrorUnlocked(const util::Mutex::Guard& guard) { |
| 1188 | broken = true; |
no test coverage detected