stream: honor StreamMap::next_many limit (#8215)

This commit is contained in:
Minh Vu
2026-07-01 17:55:20 +02:00
committed by GitHub
parent 61aeb33f51
commit 98104c36f1
2 changed files with 46 additions and 0 deletions
+4
View File
@@ -632,6 +632,10 @@ where
should_loop = true;
idx = idx.wrapping_add(1) % self.entries.len();
if added == limit {
break;
}
}
Poll::Ready(None) => {
// Remove the entry