def snapshot.close.decode

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

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/Protocol.bend as Protocol
import bend-kit-bytes@0.3.2.0/bytes.bend as Bytes

220# Rejects truncated and extended close-token payloads.
221def snapshot.close.decode(payload: Bytes.Bytes) -> Decision:
222  snapshot.close.decision(Protocol.snapshot.id.read(payload))

Uses (4)

Used by (1)