# ICacheConstructor.(new) · @imqueue/rpc

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

Constructs a cache adapter instance, ready to be initialized.

**Signature:**

```typescript
new (name?: string): ICache;
```

## Parameters


| Parameter | Type | Description |
| --- | --- | --- |
| name | string | _(Optional)_ legacy, and never supplied by the registry |


**Returns:**

[ICache](https://imqueue.org/api/rpc/latest/rpc.icache/)

an uninitialized adapter — [ICache.init()](https://imqueue.org/api/rpc/latest/rpc.icache.init/) must be called before use

