Nuke Documentation

Protocol Data​Loader​Observing

public protocol DataLoaderObserving  

Allows you to tap into internal events of the data loader. Events are delivered on the internal serial operation queue.

Requirements

data​Loader(_:​url​Session:​data​Task:​did​Receive​Event:​)

func dataLoader(_ loader: DataLoader, urlSession: URLSession, dataTask: URLSessionDataTask, didReceiveEvent event: DataTaskEvent)