UNPKG

@deno/kv

Version:

A Deno KV client library optimized for Node.js.

12 lines (11 loc) 471 B
import { KvService } from "./kv_types.js"; export interface InMemoryServiceOptions { /** Enable some console logging */ readonly debug?: boolean; /** Maximum number of attempts to deliver a failing queue message before giving up. Defaults to 10. */ readonly maxQueueAttempts?: number; } /** * Return a new KvService that creates ephemeral in-memory KV instances. */ export declare function makeInMemoryService(opts?: InMemoryServiceOptions): KvService;