def snapshot.cursor.open.decision
mylsm-lsm-store@0.6.0.1 · src/coordinator/Operation.bend:224
import mylsm-lsm-store@0.6.0.1/src/coordinator/Operation.bend as Operation
import Base
import mylsm-lsm-store@0.6.0.1/src/coordinator/CursorOpenCodec.bend as CursorOpenCodec
224
225def snapshot.cursor.open.decision(
226 decision: CursorOpenCodec.Decision
227) -> Decision:
228 match decision:
229 case CursorOpenCodec.Decoded{CursorOpenCodec.Request{snapshot_id, bounds}}:
230 Decoded{SnapshotCursorOpen{snapshot_id, bounds}}
231 case CursorOpenCodec.Malformed{}: MalformedArguments{}