A persistence store that can be used to store data for a given session id and key The store is namespaced by the stateKey and the sessionId allows for multiple instances of data to be created with the same store using the session id as the discriminator. The store is backed by a KeyValue model.

interface PersistenceStoreAware {
    store: KosPersistenceStore;
    sessionId: string;
    stateKey: string;
}

Properties

store: KosPersistenceStore

The key value data store

sessionId: string

The sessionId to be used when multiple instances of a persistence store are required for a given namespace

stateKey: string

The stateKey used to namespace the store