Join Slack
If I have multiple child Jobs in a coroutine scope and one fails, I understand this cancels all the ...
# coroutines
d
darkmoon_uk
10/08/2019, 6:45 AM
If I have multiple child Jobs in a
coroutine scope
and one fails, I understand this cancels all the other children. My question is: Is
GlobalScope
any different in this regard? Will a failed Job in
GlobalScope
cancel everything in
GlobalScope
?
o
octylFractal
10/08/2019, 6:58 AM
GlobalScope
has no job itself, so it has no children to be canceled.
👍 1
d
darkmoon_uk
10/08/2019, 6:58 AM
Ah, ok.
5
Views
Open in Slack
Previous
Next
kotlinlang
A modern programming language that makes developers happier.
Powered by