Members
(static) getAll
get all (key/value)s from storage
Methods
(static) get(…params) → {Promise}
Get a value from storage
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
params |
* |
<repeatable> |
Returns:
- Type
- Promise
(static) remove(keyStr) → {Promise}
Removes a value from storage
Parameters:
Name | Type | Description |
---|---|---|
keyStr |
Array.<string> | string | Array of or single key |
Returns:
- Type
- Promise
(static) set(params) → {Promise}
Set a value in storage
Parameters:
Name | Type | Description |
---|---|---|
params |
object | key/value pair to be saved |
Returns:
- Type
- Promise