KVWriteOptions
Options of set and increment.
Options of set and increment.
Import#
ts
import type { KVWriteOptions } from "@shadow-js/dusk/server";
Signature#
ts
interface KVWriteOptions {
/** Seconds until the entry expires. Absent: no expiry. Must be a positive integer. */
readonly ttlSeconds?: number | undefined;
}
Members#
| Name | Type | Description |
|---|---|---|
ttlSeconds? |
readonly ttlSeconds?: number | undefined |
Seconds until the entry expires. Absent: no expiry. Must be a positive integer. |