Removes every entry (respecting the store's key prefix, if configured).
Removes a cached value.
Cache key
true if an entry was removed
Reads a cached value.
The expected value type
Cache key
The value, or null when absent or expired
Reports whether a live entry exists.
Cache key
true if present and unexpired
Stores a value.
The value type
Cache key
Value to store
OptionalttlSeconds: number
Time-to-live in seconds; omit for the store default
Key/value cache with per-entry TTL.
Example
Since
0.1.0