Methods
.clear() → Promise<void>
Remove all key/value pairs from storage for this instance
.exists(key: string) → Promise<boolean>
Check if a value exists in storage for this instance
Parameters:
| Name | Type | Description | 
|---|---|---|
| key |  | The key in storage to check | 
.get(key: string) → Promise<any>
Get a value from storage for this instance
Parameters:
| Name | Type | Description | 
|---|---|---|
| key |  | The key in storage to get | 
.init() → Promise<void>
Initialize this storage instance
.keys() → Promise<string[]>
Get the names of all keys in this storage for this instance
.remove(key: string) → Promise<void>
Remove a value from storage for this instance
Parameters:
| Name | Type | Description | 
|---|---|---|
| key |  | The key in storage to remove | 
.set(key: string, value: any) → Promise<void>
Set a value in storage for this instance
Parameters:
| Name | Type | Description | 
|---|---|---|
| key |  | The key in storage to set | 
| value |  | The value to set |