<!--
{
  "availability" : [
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/Progress/removeSubscriber(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSProgress(cm)removeSubscriber:"
  },
  "title" : "removeSubscriber(_:)"
}
-->

# removeSubscriber(_:)

Removes a proxy progress object that the add subscriber method returns.

```
class func removeSubscriber(_ subscriber: Any)
```

## Parameters

`subscriber`

The proxy of the progress object to observe.

## Discussion

If the block for [`addSubscriber(forFileURL:withPublishingHandler:)`](/documentation/Foundation/Progress/addSubscriber(forFileURL:withPublishingHandler:)) returns a closure, the system invokes that closure on the main thread when you invoke [`removeSubscriber(_:)`](/documentation/Foundation/Progress/removeSubscriber(_:)).

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)