Interface IKeyValueStorage
interface IKeyValueStorage { load(key: string): Promise<any>; save(key: string, value: any): Promise<any>;} Methods
load
load(key: string): Promise<any> Returns Promise<any>
the value or undefined
save
save(key: string, value: any): Promise<any>
Persists any arbitrarily nested objects to some kind storage. Used to store settings and temporary data that needs to be retrieved later.