Class: ArrayPersistenceStoreFactory

QuickNav

ArrayPersistenceStoreFactory

PersistenceStoreFactory that creates an in-memory array backed PersistenceStore instance.

Methods

createPersistenceStore(name, options) → {Promise.<ArrayPersistenceStore>}

Parameters:
Name Type Argument 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 Argument Description
version string <optional>
The version of the store.
Returns:
returns a Promise that is resolved to an array backed PersistenceStore instance.
Type
Promise.<ArrayPersistenceStore>