Contents

Progress.PublishingHandler

A block that the system calls when an observed progress object matches the subscription.

Declaration

typealias PublishingHandler = @Sendable (Progress) -> Progress.UnpublishingHandler?

Parameters

  • progress:

    The proxy to the observed progress object.

Return Value

An optional block that the system invokes when the observed progress object invokes unpublish(), the publishing process terminates, or you invoke removeSubscriber(_:).

See Also

Observing and Controlling File Progress by Other Processes