Type Alias RedisCacheAdapterSettings

RedisCacheAdapterSettings: { database: Redis; serde: ISerde<string> }

Configuration for RedisCacheAdapter. Requires a Redis client and a serde for serialising cache values to strings.

IMPORT_PATH: "@daiso-tech/core/cache/redis-cache-adapter"

Type declaration

  • database: Redis

    The Redis client instance for cache operations.

  • serde: ISerde<string>

    Serde instance for serializing and deserializing cache values to and from strings.