TagCache.(constructor)

Constructs a new instance of the TagCache class

Signature:

constructor(
    cache?: RedisCache | undefined);

Parameters

Parameter

Type

Description

cache

RedisCache | undefined

(Optional) initialised RedisCache to borrow the connection, key prefix and logger from. RedisCache.init() must already have been awaited: this reads the connection immediately rather than lazily, so an uninitialised cache leaves every operation throwing REDIS_INIT_ERROR.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.