public struct RetrieveImageResult
Represents the result of a Kingfisher retrieving image task.
public let image: KFCrossPlatformImage
Gets the image object of this result.
public let cacheType: CacheType
Gets the cache source of the image. It indicates from which layer of cache this image is retrieved.
If the image is just downloaded from network,
.none will be returned.
public let source: Source
Source which this result is related to. This indicated where the
self is referring.
public let originalSource: Source
Source from which the retrieve task begins. It can be different from the
When an alternative source loading happened, the
source will be the replacing loading target, while the
originalSource will be kept as the initial
source which issued the image loading process.