denoKvCache<A extends Deno.KvKey,R,>(db: Deno.Kv,keyPrefix: Deno.KvKey,): MemoizeAsyncCache<A, R>
Creates a MemoizeAsyncCache using a Deno.Kv store.
Both arguments and results are stored as is. Note that the arguments must be a valid KV key and the results must be a valid KV value.
A extends Deno.KvKey
Arguments tuple type.
db: Deno.Kv
keyPrefix: Deno.KvKey