Cancellable

public protocol Cancellable

The conforming type supports cancelling an in-process operation. The exact semantics of “canceling” are not defined in the protocol. Specifically, there is no guarantee that a cancel results in immediate cessation of activity.

  • Declaration

    Swift

    func cancel()