NetworkTask

public protocol NetworkTask : AnyObject

NetworkTaskRepresenting is a task which runs async to fetch data.

  • Cancels a task.

    Declaration

    Swift

    func cancel()
  • Resumes a task.

    Declaration

    Swift

    func resume()
  • Suspends a task.

    Declaration

    Swift

    func suspend()