This module implement the BaseStateController interface with redis in-memory database.
BaseStateController
npm install @sociably/core @sociably/redis-state# or with yarnyarn add @sociably/core @sociably/redis-state
Check the Using State document and the package reference.
import Sociably from '@sociably/core';import RedisState from '@sociably/redis-state';const app = Sociably.createApp({ modules: [ RedisState.initModule({ clientOptions: { host: 'localhost', port: 6379, }, }), ],});
Generated using TypeDoc
Redis State Module
This module implement the
BaseStateController
interface with redis in-memory database.Install
Docs
Check the Using State document and the package reference.
Setup