                 imageView.nuke_display(image: nil, data: nil)
             }
             let result: Result<ImageResponse, ImagePipeline.Error> = .failure(.dataLoadingFailed(URLError(.unknown)))
-            handle(result: result, fromMemCache: true)
+            handle(result: result, isFromMemory: true)
             completion?(result)
             return nil
         }


    #elseif os(watchOS)

    private func display(_ image: ImageContainer, _ fromMemCache: Bool, _ response: ImageLoadingOptions.ResponseType) {
        imageView?.display(response.container)
    }



    // MARK: - Handling Responses

    private func handle(result: Result<ImageResponse, ImagePipeline.Error>, isFromMemory: Bool) {
        switch result {
        case let .success(response):
            display(response.container, isFromMemory, .success)
        case .failure:
            if let failureImage = options.failureImage {
                display(ImageContainer(image: failureImage), isFromMemory, .failure)
            }
        }
        self.task = nil
