Properties
clearAll
clearAll: () => Promise<void>
get
get: (key: string) => Promise<undefined | null | string>
Type declaration
-
- (key: string): Promise<undefined | null | string>
-
Parameters
Returns Promise<undefined | null | string>
remove
remove: (key: string) => Promise<void>
Type declaration
-
- (key: string): Promise<void>
-
Parameters
Returns Promise<void>
set
set
: (key
: string, value
: string, opts
?: ISetOptions) => Promise<void>
Type declaration
-
- (key: string, value: string, opts?: ISetOptions): Promise<void>
-
Parameters
-
key: string
-
value: string
-
Returns Promise<void>