Packages · @purista/redis-state-store
@purista/redis-state-store
Redis adapter for PURISTA state values.
Signature
@purista/redis-state-store Examples
const store = new RedisStateStore({
config: { url: 'redis:___PH0___
})
await store.setState('tenant:acme:prod:cart:session-123', { step: 'shipping' })
const state = await store.getState('tenant:acme:prod:cart:session-12339;) Classes
1 entry
RedisStateStore
Classes
class RedisStateStore<M, F, S> State store backed by Redis string keys.
Type Aliases
1 entry
RedisStoreConfig
Types
type RedisStoreConfig = void Redis state store backend configuration.
Variables
1 entry
puristaVersion
Variables
const puristaVersion: "3.0.1" The PURISTA package version embedded in the published runtime build.