Class: CacheRecord

OpenSeadragon.CacheRecord

Cached Data Record, the cache object. Keeps only latest object type required. This class acts like the Maybe type: - it has 'loaded' flag indicating whether the tile data is ready - it has 'data' property that has value if loaded=true Furthermore, it has a 'getData' function that returns a promise resolving with the value on the desired type passed to the function.