Hey, have a question about `Job#invokeOnCompletion...
# coroutines
s
Hey, have a question about `Job#invokeOnCompletion`… Is it true that after calling
cancelAndJoin
completion block is not guaranteed to be executed right after
cancelAndJoin
have completed? Tried to add some logging to see jobs actually finished
v
there is no such guarantee, yes
join
uses the same
invokeOnCompletion
method under the hood and order of invocation of multiple
invokeOnCompletion
handlers is not defined
s
🙂 good to know, thanks a lot!