Methods
del
- del(key: string): Promise<boolean>
-
Parameters
Returns Promise<boolean>
get
- get(key: string): Promise<any>
-
Parameters
Returns Promise<any>
init
- init(options?: any): void
set
- set(key: string, value: any, ttl?: undefined | number): Promise<boolean>
-
Parameters
-
key: string
-
value: any
-
Optional ttl: undefined | number
Returns Promise<boolean>