IRedisCacheOptions interface
Options accepted by RedisCache.init().
Signature:
export interface IRedisCacheOptions extends Partial<IMQOptions>
Extends: Partial<IMQOptions>
Remarks
This inherits the queue option shape, but the adapter only honours host, port, username, password, prefix, logger and conn. All other inherited queue options are accepted by the type and silently ignored.
Properties
|
Property |
Modifiers |
Type |
Description |
|---|---|---|---|
|
IRedisClient |
(Optional) An existing Redis client to reuse — a running service's queue writer, for example — instead of opening a new connection. |
Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.