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

IMQCache.get() method

Returns registered cache adapter by its given name or class

Signature:

static get(adapter: ICacheAdapter): ICache;

Parameters

Parameter

Type

Description

adapter

ICacheAdapter

adapter name or class

Returns:

ICache

{ICache} - adapter instance