Pulls out the next batch from the reader.
(&mut self, cfg: &RollupConfig)
| 144 | |
| 145 | /// Pulls out the next batch from the reader. |
| 146 | pub fn next_batch(&mut self, cfg: &RollupConfig) -> Option<Batch> { |
| 147 | self.next_batch_strict(cfg).ok().flatten() |
| 148 | } |
| 149 | |
| 150 | /// Pulls out the next batch from the reader, preserving decode failures. |
| 151 | pub fn next_batch_strict( |