def snapshot.cursor.close.parsed

mylsm-lsm-store@0.6.0.1 · src/coordinator/Operation.bend:247

import mylsm-lsm-store@0.6.0.1/src/coordinator/Operation.bend as Operation
import Base

247# Decodes the owner-issued cursor token used for explicit closure.
248def snapshot.cursor.close.parsed(parsed: Maybe<&2, U32>) -> Decision:
249  match parsed:
250    case Some{cursor_id}: Decoded{SnapshotCursorClose{cursor_id}}
251    case None{}: MalformedArguments{}

Uses (4)

Used by (1)