Contents

cancel()

Cancels progress tracking.

Declaration

func cancel()

Discussion

This method invokes the block for cancellationHandler, if there is one, and ensures that any subsequent reads of the isCancelled property return true.

If the receiver has suboperations, the system cancels their progress as well.

See Also

Controlling Progress