Cancellable

public protocol Cancellable

A disposable resource.

  • true if this resource has been disposed of, false otherwise.

    Declaration

    Swift

    var isCancelled: Bool { get }
  • Disposes of this resource.

    Declaration

    Swift

    func cancel()