Type: Cache
SDKCacheItem
This type represents a memory cached item.
interface SDKCacheItem<T> {
data: T;
expiry?: number;
hydrate?: boolean;
key?: string;
}data:T
The data.expiry:number, optional
The expiry time in milliseconds.hydrate:boolean, optional
If the cache will be hydrated.key:string, optional
The cache key.