def block.payload.decision

mylsm-lsm-store@0.6.0.1 · src/ByteSstFile.bend:487

import mylsm-lsm-store@0.6.0.1/src/ByteSstFile.bend as ByteSstFile
import Base
import mylsm-lsm-store@0.6.0.1/src/scan/ByteBlockBuilder.bend as ByteBlockBuilder

487# Projects the byte builder's admission result to the codec preflight contract.
488def block.payload.decision(decision: ByteBlockBuilder.Decision) -> Bool:
489  match decision:
490    case ByteBlockBuilder.Append{_}: True{}
491    case _: False{}

Uses (2)

Used by (1)