import { batchedAtomic } from "https://deno.land/x/kv_toolbox@0.19.1/batched_atomic.ts";
Similar to Deno.Kv.prototype.atomic
but deals with the limits of
transactions imposed by Deno KV.
When committing the transaction, the operation is broken up in batches and each commit result from each batch is returned, unless there is a commit error, where any pending batched operations will be abandoned and the last item in the commit result array will be the error.
Parameters
kv: Deno.Kv
optional
options: BatchAtomicOptions