def handle.new
bend-kit-commands@0.4.0.0 · commands.bend:339
import bend-kit-commands@0.4.0.0/commands.bend as Commands
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
339def handle.new(
340 ~keys: Bytes.Bytes -> List<Bytes.Bytes>,
341 ~decide: List<Row> -> Bytes.Bytes -> Decision<List<Row>, Bytes.Bytes, Bytes.Bytes>,
342 pp: Bytes.Bytes & Bytes.Bytes, +read: U32, at: U32, +commit: U32, +save: U32, +del: U32, +keep: U32, +emit: U32, +id: String
343) -> Run(Reply<Bytes.Bytes>):
344 (p, p2) = pp
345 do Run<Reply<Bytes.Bytes>>:
346 rs : List<Row> <- rows.get(keys(p), read)
347 written(step(~List<Row>, ~Bytes.Bytes, ~Bytes.Bytes, ~Bytes.Bytes, ~same, ~Bytes.clone, ~Bytes.clone, ~decide, None{}, rs, p2, at), commit, save, del, keep, emit, id)