 
     #elseif os(macOS)
 
-    private func handle(result: Result<ImageResponse, ImagePipeline.Error>, fromMemCache: Bool, options: ImageLoadingOptions) {
+    private func handle(result: Result<ImageResponse, ImagePipeline.Error>, fromMemCache: Bool) {
         switch result {
         case let .success(response):
             display(response.container, fromMemCache, .success)


        task = pipeline.loadImage(with: request, queue: .main, progress: { [weak self] response, completedCount, totalCount in
            if let response = response, options.isProgressiveRenderingEnabled {
                self?.handle(partialImage: response, options: options)
            }
            progressHandler?(response, completedCount, totalCount)
        }, completion: { [weak self] result in
            self?.handle(result: result, fromMemCache: false, options: options)
            completion?(result)
        })
        return task


    #if os(iOS) || os(tvOS)

    private func handle(result: Result<ImageResponse, ImagePipeline.Error>, fromMemCache: Bool) {
        switch result {
        case let .success(response):
            display(response.container, fromMemCache, .success)
