Am I creating a race condition with the coroutines...
# getting-started
j
Am I creating a race condition with the coroutines when I write
val job = GlobalScope.launch { /* Things here */ }
then
job.invokeOnCompletion { /* It's done now */ }
? What's the best way to handle this?
e
No race here. Things then done. But what are you trying to achieve?
(A better place to ask though is in #coroutines channel)
j
Thanks Roman! 🙂