Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Latest
interface KvStatus
implements KvLimits
import { type KvStatus } from "https://deno.land/x/natsws@v1.28.0/src/mod.ts";

Properties

bucket: string

The simple name for a Kv - this name is typically prefixed by KV_.

values: number

Number of entries in the KV

deprecated
bucket_location: string
streamInfo: StreamInfo

The StreamInfo backing up the KV

size: number

Size of the bucket in bytes

optional
metadata: Record<string, string>

Metadata field to store additional information about the stream. Note that keys starting with _nats are reserved. This feature only supported on servers 2.10.x and better.