Cancelable

public protocol Cancelable

Protocol that represents a cancelable operation.

  • Call this method to cancel a Cancelable instance

    Declaration

    Swift

    func cancel()
  • Property for knowing if a Cancelable instance is already cancelled.

    Declaration

    Swift

    var isCancelled: Bool { get }