Home > @imqueue/rpc > IMQCache > get

IMQCache.get() method

Returns a registered cache adapter by its given name or class.

Signature:

static get(adapter: ICacheAdapter): ICache;

Parameters

Parameter

Type

Description

adapter

ICacheAdapter

adapter name, class or instance

Returns:

ICache

{ICache} - adapter instance