interface KvPutOptions
Since 0.2.0

Options for IKvNamespace.put.

Properties

readonly
optional
expirationTtl: number

Seconds until KV removes the entry. The platform minimum is 60; a smaller value is rejected, which is why physicalTtlSeconds floors it and a logical expiry is carried inside the value.

Usage

import { type KvPutOptions } from "cloudflare-plugin/src/index.ts";