# @purista/redis-state-store API

Redis adapter for PURISTA state values.

---
Canonical: /handbook/api/modules/_purista_redis-state-store/
Format: Markdown for agents
---

Redis adapter for PURISTA state values.

Package: `@purista/redis-state-store`

## Signature

```typescript
@purista/redis-state-store
```

## Examples

```typescript
const store = new RedisStateStore({
  config: { url: 'redis://localhost:6379' },
})

await store.setState('tenant:acme:prod:cart:session-123', { step: 'shipping' })
const state = await store.getState('tenant:acme:prod:cart:session-123')
```

## Members

### Classes

- `class RedisStateStore<M, F, S>` — State store backed by Redis string keys.

### Type Aliases

- `type RedisStoreConfig = void` — Redis state store backend configuration.

### Variables

- `const puristaVersion: "3.0.1"` — The PURISTA package version embedded in the published runtime build.
