Snapshot.snapshot.list.cursor.resolve: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshot Lines 666-683 of mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&start_line=666&end_line=683 import Base def snapshot.list.cursor.resolve( prefix: List<&2, SnapshotResource>, tail: List<&2, SnapshotResource>, acquired: SnapshotCursorDecision ) -> SnapshotListCursorDecision: match acquired: case SnapshotCursorAcquired{resource}: SnapshotListUpdated{snapshot.list.cursor.restore(prefix, Con{resource, tail})} case SnapshotCursorLimit{resource}: SnapshotListRejected{snapshot.list.cursor.restore(prefix, Con{resource, tail})} case SnapshotCursorReleased{resource}: SnapshotListUpdated{snapshot.list.cursor.restore(prefix, Con{resource, tail})} case SnapshotCursorUnderflow{resource}: SnapshotListRejected{snapshot.list.cursor.restore(prefix, Con{resource, tail})} Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=SnapshotCursorDecision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=SnapshotListCursorDecision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=SnapshotResource https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend&name=snapshot.list.cursor.restore