From the article: https://medium.com/androiddevelopers/coroutines-on-android-part-iii-real-work-2ba8a2ec2f45
- As a general pattern, start coroutines in the ViewModel.
- A repository should prefer to expose regular suspend functions that are main-safe.
From the article: https://medium.com/androiddevelopers/coroutines-on-android-part-iii-real-work-2ba8a2ec2f45