ICacheConstructor interface

Constructor signature the registry uses to instantiate a cache adapter class.

Signature:

export interface ICacheConstructor 

Remarks

The registry always calls it with no arguments. The optional name argument is a legacy affordance that no built-in adapter accepts and that the registry never supplies, so implementations must be constructible with zero arguments and set their own ICache.name.

Methods

Method

Description

(new)(name)

Constructs a cache adapter instance, ready to be initialized.

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