When Private.isImgCacheLoaded returns false in ImgCache.getCachedFile then the function exists immediately, this is surprising behaviour when using functions such as ImgCache.getCachedFileURL as I would expect any error to trigger an error callback if one is provided.
When
Private.isImgCacheLoaded
returnsfalse
inImgCache.getCachedFile
then the function exists immediately, this is surprising behaviour when using functions such asImgCache.getCachedFileURL
as I would expect any error to trigger an error callback if one is provided.