Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to 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.