Writing unit tests is A Good Thing: learn how to test asynchronous network code. Also, find out how to access URLSessionTaskMetrics transaction data.
This is a companion discussion topic for the original entry at https://www.raywenderlich.com/3986-networking-with-urlsession/lessons/12