What advantage does viewModelScope provide?
- A Coroutines are cancelled automatically when the ViewModel is cleared
- B It runs work on the main thread
- C It survives process death
- D It caches network responses
Answer
Coroutines are cancelled automatically when the ViewModel is cleared
Structured concurrency means cancelling a scope cancels its children, which prevents leaked background work.





