def snapshot.list.cursor.close

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

import mylsm-lsm-store@0.6.0.1/src/scan/Snapshot.bend as Snapshot
import 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{})

Uses (7)

Used by (1)