def owner.frame

mylsm-lsm-store@0.6.0.1 · src/transfer/BackupCursorPolicy.bend:26

import mylsm-lsm-store@0.6.0.1/src/transfer/BackupCursorPolicy.bend as BackupCursorPolicy
import Base
import mylsm-lsm-store@0.6.0.1/src/coordinator/CursorCodec.bend as CursorCodec

26# Preserves raw bytes while classifying one owner cursor response.
27def owner.frame(frame: CursorCodec.Frame) -> OwnerFrameDecision:
28  match frame:
29    case CursorCodec.CursorEnd{}: OwnerCursorEnd{}
30    case CursorCodec.CursorItem{key, value}: OwnerCursorItem{key, value}

Uses (2)

Used by (1)