Class: LocalPersistenceStoreFactory

LocalPersistenceStoreFactory

PersistenceStoreFactory that creates localStorage backed PersisteneStore instance.

Methods

##createPersistenceStore(name, optionsopt) → {Promise.<LocalPersistenceStore>}

Parameters:
Name Type Attributes Description
name string The name to be associated with the store.
options object <optional>
The configratuion options to be applied to the store.
Properties
Name Type Attributes Description
version string <optional>
The version of the store.
Source:
Returns:
returns a Promise that is resolved to a localStorage backed PersistenceStore instance.
Type
Promise.<LocalPersistenceStore>