A cached entry state.
- Source
Example
{
data: { name: 'John Doe' },
metadata: { createdAt: 1716796800000, ttl: 300000, tags: ['user'], version: 1 },
}Members
data :T
The data to cache.
Type:
- T
- Source
metadata :CacheMetadata
The metadata for the cached entry.
Type:
- Source