OwnerCursorCodec.next: 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 44-49 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=44&end_line=49 import Base import mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend as Protocol import mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCodec.bend as CursorCodec import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes # Decodes a raw-byte cursor frame only from a successful owner response. def next(status: Protocol.ResponseStatus, payload: Bytes.Bytes) -> NextDecision: match status: case Protocol.Success{}: next.decoded(CursorCodec.decode(payload)) case _: NextRejected{status} Uses (5): https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCodec.bend&name=decode https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerCursorCodec.bend&name=NextDecision https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/OwnerCursorCodec.bend&name=next.decoded https://jend.leeeet.dev/definition.txt?path=mylsm-lsm-store@0.6.0.1/src/coordinator/Protocol.bend&name=ResponseStatus