Structs§
- Fold
Snapshot - A fold snapshot: the folded
stateplus the per-partition offsets it folded through.as_ofmaps a partition id to the last offset folded intostate(inclusive), matching the cursor’s per-partition offsets, so a multi-partition fold resumes correctly. Resume seeds the cursor atoffset + 1per partition, because the cursor takes the next offset to read (exclusive) while the snapshot records the last offset folded (inclusive).