OwnerCursorCodec.open.parsed: def of mylsm-lsm-store@0.6.0.1 Import: import mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerCursorCodec.bend as OwnerCursorCodec Lines 24-29 of mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerCursorCodec.bend: https://jend.leeeet.dev/read.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerCursorCodec.bend&start_line=24&end_line=29 import Base # Decodes the owner cursor ID only from a successful exact token payload. # Converts an exact token parse into a typed cursor-open decision. def open.parsed(parsed: Maybe<&2, U32>) -> OpenDecision: match parsed: case Some{cursor_id}: Opened{cursor_id} case None{}: OpenMalformed{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerCursorCodec.bend&name=OpenDecision