I am trying to use Kotlin coroutines to perform multiple HTTP calls concurrently, rather than one at a time, but I would like to avoid making all of the calls c
Short requirement: have ability to create corotine context, which will executed in the single thread only (e.g. without parallelism). Additional requirement: i
fun returnValue(): Int { viewModelScope.launch { return 1 // Something like this } } I want to return some value in a viewModelScope like the