You're viewing archived documentation for @imqueue/rpc v2.1.0. APIs may differ from the current release. View the latest version ↗

IMQCache class

Generic cache registry

Signature:

export declare class IMQCache 

Properties

Property

Modifiers

Type

Description

adapters

static

{ [name: string]: ICache; }

Methods

Method

Modifiers

Description

apply(adapter, options)

static

Overrides existing adapter options with the given

get(adapter)

static

Returns registered cache adapter by its given name or class

init()

static

Initializes all registered cache adapters

register(adapter, options)

static

Registers given cache adapter