Parent job is completed with Ktor
I run several Ktor operations in viewModelScope and getting Parent job is completed. When i run single operation everything works fine. I thought that the problem is caused by multiple runs of the scope and their incompletion. I tried running the tasks asynchronously, but I get the same issue.
tasks in ViewModel:
init {
getCurrentConditions()
get12hoursForecastResponse()
get5daysForecastResponse()
}
fun updateLocation(location: Location) {...