interface StateStore { get(key: string): Promise<null | string>; getAllKeys(): Promise<string[]>; remove(key: string): Promise<null | string>; set(key: string,
value: string): Promise<void>; } Methods
get
- get(key): Promise<null | string>
Returns Promise<null | string>
getAllKeys
- getAllKeys(): Promise<string[]>
Returns Promise<string[]>
remove
- remove(key): Promise<null | string>
Returns Promise<null | string>
set
- set(key, value): Promise<void>
Returns Promise<void>