def snapshot.list.cursor.acquire

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

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

794# Adds one cursor reference to the owner record identified by its snapshot ID.
795def snapshot.list.cursor.acquire(
796  snapshots: List<&2, SnapshotResource>,
797  snapshot_id: U32,
798  max_cursors: Nat
799) -> SnapshotListCursorDecision:
800  snapshot.list.cursor.acquire.measured(
801    snapshot.list.cursor.length.keep(snapshots), snapshot_id,
802    SnapshotCursorAcquire{max_cursors})

Uses (8)

Used by (1)