def read_at.finish

mylsm-lsm-store@0.6.0.1 · src/Fs.bend:255

import mylsm-lsm-store@0.6.0.1/src/Fs.bend as Fs
import Base
import bend-kit-bytes@0.3.2.0/bytes.bend as StorageBytes

255def read_at.finish(
256  file: File,
257  chunks: List<&1, StorageBytes.Bytes>
258) -> IO(File & Result<&1, &1, U32 & String, StorageBytes.Bytes>):
259  IO.pure(File & Result<&1, &1, U32 & String, StorageBytes.Bytes>,
260    (file, Done{StorageBytes.concat(
261      List.reverse(&1, StorageBytes.Bytes, chunks))}))

Uses (12)

Used by (1)