Kingfisher Documentation

Typealias Prefetcher​Source​Progress​Block

public typealias PrefetcherSourceProgressBlock =
    ((_ skippedSources: [Source], _ failedSources: [Source], _ completedSources: [Source]) -> Void) 

Progress update block of prefetcher when initialized with a list of resources.

  • skippedSources: An array of sources that are already cached before the prefetching starting.

  • failedSources: An array of sources that fail to be fetched.

  • completedResources: An array of sources that are fetched and cached successfully.