def owner.cursor.open.ready
mylsm-lsm-store@0.6.0.1 · src/scan/Snapshot.bend:822
import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshot
import Base
822def owner.cursor.open.ready(
823 cursor_ids: U32 & U32,
824 allocator: ResourceIdAllocator,
825 reservations: Registry,
826 snapshots: List<&2, SnapshotResource>,
827 cursors: List<&2, CursorResource>,
828 snapshot_id: U32
829) -> OwnerCursorOpenDecision:
830 match cursor_ids:
831 case (cursor_id, entry_id):
832 OwnerCursorOpened{OwnerRegistry{allocator, reservations, snapshots,
833 Con{CursorResource{entry_id, snapshot_id}, cursors}}, cursor_id}