removeSubscriber(_:)
Removes a proxy progress object that the add subscriber method returns.
Declaration
class func removeSubscriber(_ subscriber: Any)Parameters
- subscriber:
The proxy of the progress object to observe.
Discussion
If the block for addSubscriber(forFileURL:withPublishingHandler:) returns a closure, the system invokes that closure on the main thread when you invoke removeSubscriber(_:).