```val job = GlobalScope.launch { <How do I...
# coroutines
j
Copy code
val job = GlobalScope.launch {
    <How do I access the Job from here>
}
t
Sounds like an excellent use case for structured concurrency. Instead of launching all these tasks on the GlobalScope just launch them from your own CoroutineScope. All the cancellation and error propagation is already implemented.
👍 1
j
I think this does solve it! I was just doing these with Activities, but now I am doing a standalone one for this, and it seems to work great!