I see `currentScope` is deprecated now. How should...
# coroutines
e
I see
currentScope
is deprecated now. How should we run launch inside
suspend fun
now? Something like this
CoroutineScope(coroutineContext).launch {  }
?
v
you should have a coroutine scope somewhere. Preferably class where this suspend fun is declared should implement
CoroutineScope
👍 1
e
Inside suspend fun use coroutineScope