# AssetsStats

interface in `@dioramajs/diorama/assets`

```ts
import type { AssetsStats } from '@dioramajs/diorama/assets'
```

Counters of the cache.

```ts
interface AssetsStats
```

## Members

| Name | Type | Description |
| --- | --- | --- |
| `entries` | `number` | Entries in the cache. |
| `pending` | `number` | Entries still loading. |
| `retained` | `number` | Bytes of entries without leases, kept by `retain`. |
| `used` | `number` | Entries with leases. |

Also exported from `@dioramajs/assets`.

Defined in [packages/assets/src/types.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/assets/src/types.ts#L180).
