Top "Coroutinescope" questions

How to return value from coroutine scope

Is there a way to return value from a coroutine scope? for example like this: suspend fun signUpUser(signUpData : SignUpUserRequest) : …

android kotlin kotlin-coroutines coroutinescope
Kotlin coroutines GlobalScope.launch vs runBlocking

Is there any difference between this two approaches? runBlocking { launch(coroutineDispatcher) { // job } } GlobalScope.launch(coroutineDispatcher) { // job }

kotlin kotlin-coroutines coroutinescope
Can anyone explain why these "Inappropriate blocking method call" warnings pop up from my code?

I wrote this code in Kotlin to download some API information using Coroutines for downloading the data. However, the code …

android api kotlin kotlin-coroutines coroutinescope
Difference between CoroutineScope and coroutineScope in Kotlin

Can anyone give clarity between functions CoroutineScope() and coroutineScope()? When I tried to check in source, I found that both …

android kotlin kotlin-coroutines suspend coroutinescope