Where is the best place to put DispatchQueue.main to refresh view ?
I would like open a debat for where is the best place to put DispatchQueue.main to refresh a view after a request on an other thread on MVVM architecture
Do you think is the responsabilty of the view model to send a response on main queue inside the callback or dispatch(on:) ?, or do you think it’s a view or view controller responsibility to update the view on main queue ?