# IMQCache.get() method · @imqueue/rpc

Source: https://imqueue.org/api/rpc/latest/rpc.imqcache.get/
Published: 2026-08-04
Author: @imqueue maintainers (https://github.com/imqueue)
Package: @imqueue/rpc 3.5.3 — generated reference, not hand-written

Returns a registered cache adapter by its given name or class.

**Signature:**

```typescript
static get(adapter: ICacheAdapter): ICache;
```

## Parameters


| Parameter | Type | Description |
| --- | --- | --- |
| adapter | [ICacheAdapter](https://imqueue.org/api/rpc/latest/rpc.icacheadapter/) | adapter name, class or instance |


**Returns:**

[ICache](https://imqueue.org/api/rpc/latest/rpc.icache/)

adapter instance

