interface CacheEvent

Event for cache operations

Properties

operation:
"hit"
| "miss"
| "write"
| "evict"

Cache operation type

key: string

Cache key (hashed for privacy)

optional
size: number

Optional size information

Usage

import { type CacheEvent } from ".";