# CacheDecoratorOptions.adapter property · @imqueue/rpc

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

Cache adapter as a constructor, an instance, or a built-in adapter name.

**Signature:**

```typescript
adapter?: string | ICache | ICacheConstructor;
```

## Default Value

RedisCache

## Remarks

Only built-in adapters can be referenced by name — currently just `'RedisCache'`. Any other string throws a `TypeError`.

