Skip to content

Latest commit

 

History

History
45 lines (40 loc) · 1.23 KB

File metadata and controls

45 lines (40 loc) · 1.23 KB

StorageScope

The StorageScope class encapsulates different methods of storage for persistent objects.

Properties

This module exposes no properties.

Methods

Method Description
get

get(key: String): Promise<Object>

Gets the value with the specified key Returns a JS Promise which will be fulfilled with a JavaScript object or an error.

remove

remove(key: String): Promise<>

Removes the key. Returns a JS Promise or an error.

set set(key: String, value: Object): Promise<> Sets the value for the key Returns a JS Promise or an error.