Kingfisher Documentation

Typealias Prefetcher​Source​Completion​Handler

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

Completion block of prefetcher when initialized with a list of sources.

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

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

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