def owner.cursor.close
import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshotimport Base
1088# Releases one owner cursor and its parent snapshot reference atomically.
1089def owner.cursor.close(
1090 owner: OwnerRegistry,
1091 cursor_id: U32
1092) -> OwnerCursorCloseDecision:
1093 match owner:
1094 case OwnerRegistry{allocator, reservations, snapshots, cursors}:
1095 owner.cursor.close.removed(allocator, reservations, snapshots,
1096 cursor.list.remove(cursors, cursor_id))
Uses (5)
Used by (0)
No other definition uses this definition.