StorageAdapter

Abstract storage adapter. To be extended by your own, or AthomCloudAPI.StorageAdapterBrowser or AthomCloudAPI.StorageAdapterMemory. When creating your own, make sure to overload the get and set methods.

Constructor

StorageAdapter

new StorageAdapter()

Instance Methods

get

(async) get(): Promise.<object>

Returns

Promise.<object>

set

(async) set(value): Promise.<void>

Parameters

Name Type Description
value
object

Returns

Promise.<void>