Didn't have any experience with datatasks and urlsessions before. So I'm curious. Case is - trying to have a table with infinite scroll. When this method called
tableView(_ tableView: UITableView, prefetchRowsAt indexPaths: [IndexPath])
from UITableViewDataSourcePrefetching and after check that at least one indexpath there has row bigger then current max items - I'm starting to load new data with urlsession datatask. And question is - do I need to do something like
let queue = DispatchQueue.gloabl(qos: .userInteractive)
queue.async {
myTaskGoesHere
}