def Bytes.write_batch.result

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

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

645# Wraps the raw handle returned after committing one public byte batch.
646def Bytes.write_batch.result(
647  pair: RawByteDb.Handle & Result<&1, &1, RawByteDb.Error, Unit>
648) -> Bytes.Handle & Result<&1, &1, Bytes.Error, Unit>:
649  match pair:
650    case (raw, result): (ByteHandle{raw}, Bytes.error.result(result))

Uses (9)

Used by (1)