# CacheDecorator interface · @imqueue/rpc

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

The type of the [cache](https://imqueue.org/api/rpc/latest/rpc.cache/) export: a decorator factory that also carries process-wide defaults.

**Signature:**

```typescript
export interface CacheDecorator 
```

## Properties


| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [globalOptions?](https://imqueue.org/api/rpc/latest/rpc.cachedecorator.globaloptions/) |  | [CacheDecoratorOptions](https://imqueue.org/api/rpc/latest/rpc.cachedecoratoroptions/) | _(Optional)_ Process-wide defaults, merged under each call's own options. |

