The StorageScope
class encapsulates different methods of storage for persistent objects.
This module exposes no properties.
Method | Description |
---|---|
get
|
Gets the value with the specified key Returns a |
remove
|
Removes the key. Returns a |
set
|
set(key: String, value: Object): Promise<> Sets the
value for the key Returns a JS Promise or an error. |