URLSessionTask

class URLSessionTask : NSObject, NSCopying, ProgressReporting
  • true if the URLSessionTask was successfully cancelled, false otherwise

    Declaration

    Swift

    public var isCancelled: Bool { get }