RangeCursor.next: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend as RangeCursor Lines 319-329 of mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend&start_line=319&end_line=329 import Base # Returns one match, a skip event, or end while returning the bounds. def next(cursor: Cursor, bounds: Bounds & Bounds) -> Step: match cursor: case RangeReady{entries}: next.ready(entries, bounds) case RangeEnded{}: match bounds: case (_, retained): RangeEnd{RangeEnded{}, retained} case RangeClosed{}: match bounds: case (_, retained): RangeEnd{RangeClosed{}, retained} Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend&name=Bounds https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend&name=Cursor https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend&name=Step https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/RangeCursor.bend&name=next.ready