import { kvIteratorToArray } from "https://deno.land/x/lunchbox@v1.0.2/src/db.ts";
kvIteratorToArray
This is a utility function that converts the iterator outputed from DenoKv's list operation to an array of the same type.
Parameters
kvIterator: Deno.KvListIterator<T>
The output of DenoKv list operations.
Returns
Promise<Deno.KvEntry<T>[]>
An array equivalent to the Kv list.