Using coroutineScope in a suspend function that will be called from a CoroutineScope, is it giving the same result as passing that CoroutineScope as a parameter to the suspend function ?
import kotlinx.coroutines.coroutineScope
suspend fun loadContributorsConcurrent() {
coroutineScope {
// launch...
}
}
suspend fun loadContributorsConcurrent(outerScope: CoroutineScope) {
outerScope.run {
// launch...
}
}