Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/deno/cli/tsc/dts/lib.deno.unstable.d.ts>Deno.KvEntry

A modern runtime for JavaScript and TypeScript.
Latest
type alias Deno.KvEntry
import { type Deno } from "https://deno.land/x/deno@v1.41.0/cli/tsc/dts/lib.deno.unstable.d.ts";
const { KvEntry } = Deno;

UNSTABLE: New API, yet to be vetted.

A versioned pair of key and value in a Deno.Kv.

The versionstamp is a string that represents the current version of the key-value pair. It can be used to perform atomic operations on the KV store by passing it to the check method of a Deno.AtomicOperation.

definition: { key: KvKey; value: T; versionstamp: string; }