def Bytes.flush.result

mylsm-lsm-store@0.6.0.1 · mylsm.bend:730

import mylsm-lsm-store@0.6.0.1/mylsm.bend as Mylsm
import 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))

Uses (9)

Used by (2)