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 |
adapter name, class or instance |
Returns:
{ICache} - adapter instance