Key/value cache with per-entry TTL.
get<T>(key: string): Promise<T | null>
Reads a cached value.
set<T>(key: string,value: T,ttlSeconds?: number): Promise<void>
Stores a value.
delete(key: string): Promise<boolean>
Removes a cached value.
has(key: string): Promise<boolean>
Reports whether a live entry exists.
clear(): Promise<void>
Removes every entry (respecting the store's key prefix, if configured).