jcechace10/29/2018, 4:56 PM
to inherit the coroutine scope from the calling function (e.g. main)?
louiscad10/29/2018, 4:59 PM
(for parallelization inside one coroutine mainly), then don't use it, and prefer
depending on the use case.
diesieben0710/29/2018, 4:59 PM
(that way any launched coroutines are attached to that scope). If you have a suspending function that also launches coroutines you need
to inherit your own coroutine scope (the one that the suspending function is called with) to those coroutines.
function and not use
, etc. then you do not need
as far as I understand it.
jcechace10/29/2018, 5:01 PM
only if the function uses
. Could you link the talk you are referring to please? Would watch!