Constructors
constructor
Parameters
Optional keyPrefix: string
Properties
Protected Optional keyPrefix
keyPrefix?: string
Methods
get
- get(key: string): Promise<undefined | string>
Parameters
Returns Promise<undefined | string>
set
- set(key: string, value: string, ttlSeconds?: number): Promise<void>
Parameters
key: string
value: string
Optional ttlSeconds: number
Returns Promise<void>