def owner.cursor.open.request

mylsm-lsm-store@0.6.0.1 · src/scan/Snapshot.bend:871

import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshot
import Base

871def owner.cursor.open.request(
872  allocator: ResourceIdAllocator,
873  reservations: Registry,
874  snapshots: List<&2, SnapshotResource>,
875  cursors: List<&2, CursorResource>,
876  snapshot_ids: U32 & U32,
877  max_cursors: Nat
878) -> OwnerCursorOpenDecision:
879  match snapshot_ids:
880    case (cursor_snapshot_id, lookup_snapshot_id):
881      owner.cursor.open.snapshot(allocator, reservations, cursors,
882        cursor_snapshot_id,
883        snapshot.list.cursor.acquire(snapshots, lookup_snapshot_id,
884          max_cursors))

Uses (12)

Used by (1)