def Bytes.flush.result
import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsmimport Base
import mylsm-lsm-store@0.6.0.1/src/ByteDurableDb.bend as RawByteDb
730# Wraps the handle after publishing the durable byte SST snapshot.
731def Bytes.flush.result(
732 pair: RawByteDb.Handle & Result<&1, &1, RawByteDb.Error, Unit>
733) -> Bytes.Handle & Result<&1, &1, Bytes.Error, Unit>:
734 match pair:
735 case (raw, result): (ByteHandle{raw}, Bytes.error.result(result))