If you're going to immediately `await` on an `asyn...
# coroutines
b
If you're going to immediately
await
on an
async
job, you might as well just use
withContext
a
This was just from one of the examples simple smile I guess it does make sense to use withContext in this particular case, but we were just trying to understand where async throws it's exceptions
g
In this case
async
actually makes a lot of difference, because crash on async cancels parent job. Replace coroutineScope with supervisorScope and it will work as you expecting
a
Ah. Thank you so much! 🙂 That clears it up for me
g
Yeah, check SupervisorJob part of guide it’s pretty clear how this works by default