gildor
10/09/2018, 5:21 AMBut as standalone coroutines are deprecated what other alternatives do we have apart from GlobalScopeWhat do you mean? GlobalScope is direct successor of old standalone coroutine builders and provides the same lifecycle. But usually you don’t need it, use CoroutineScope everywhere where it’s possible to do
has examples aboutIt’s just for simplicity of examples, docs has actually a lot of different examples, not only runBlocking or GlobalScopeandrunBlocking{ }
onlyGlobalScope.launch( )
Rohit Surwase
10/09/2018, 6:44 AMgildor
10/09/2018, 6:51 AMRohit Surwase
10/09/2018, 6:53 AMgildor
10/09/2018, 6:53 AMRohit Surwase
10/09/2018, 7:00 AMgildor
10/09/2018, 7:02 AM