AnyConnectionTask

public protocol AnyConnectionTask : AnyObject

Type erased ConnectionTask

  • Cancel the connection task. The completion handler is eventually called with a .cancelled result.

    Declaration

    Swift

    func cancel()