(
mut stream: tonic::Streaming<pb::DiffChunk>,
)
| 525 | /// error surface as every reactor call). |
| 526 | #[allow(clippy::result_large_err)] |
| 527 | async fn collect_streaming( |
| 528 | mut stream: tonic::Streaming<pb::DiffChunk>, |
| 529 | ) -> Result<Vec<pb::DiffChunk>, Status> { |
| 530 | let mut chunks = Vec::new(); |
| 531 | while let Some(chunk) = stream.message().await? { |
| 532 | chunks.push(chunk); |
| 533 | } |
| 534 | Ok(chunks) |
| 535 | } |
| 536 | |
| 537 | // --------------------------------------------------------------------------- |
| 538 | // RepositoryMutationService |
no test coverage detected