A key-value store for your app
get(key: string): Promise<{ value: string } | null>
null
if the key does not exist.
set(key: string, value: string, options?: { ttlInSeconds?: number }): Promise<void>
ttlInSeconds
which is the number of seconds after which the key will be deleted.delete(key: string): Promise<void>