def snapshot.list.cursor.close
import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshotimport Base
813# Removes a childless snapshot record and reports Busy while cursors remain.
814def snapshot.list.cursor.close(
815 snapshots: List<&2, SnapshotResource>,
816 snapshot_id: U32
817) -> SnapshotListCursorDecision:
818 snapshot.list.cursor.acquire.measured(
819 snapshot.list.cursor.length.keep(snapshots), snapshot_id,
820 SnapshotCursorClose{})