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

IMQCache.register() method

Registers given cache adapter

Signature:

static register(adapter: ICacheAdapter | string, options?: any): typeof IMQCache;

Parameters

Parameter

Type

Description

adapter

ICacheAdapter | string

adapter name or class or instance

options

any

(Optional) adapter specific options

Returns:

typeof IMQCache

{IMQCache}