def next.block
import mylsm-lsm-store@0.6.0.1/src/transfer/Backup.bend as Backupimport Base
358def next.block(stream: Stream) -> Result<&1, &1, Error, Step>:
359 match stream:
360 case Stream{Blocks{}, entries, entry_count, block_count, block_index}:
361 next.block.ready(Stream{Blocks{}, Nil{}, entry_count, block_count,
362 block_index}, split.batch(entries))
363 case _: Fail{CodecFailure{}}