louiscad
11/22/2018, 3:26 PMasync
(and launch
) block in an actor
will close the actor
and make it stop accepting anything?oshai
11/22/2018, 3:30 PMlouiscad
11/22/2018, 5:05 PMasync { … }
from a coroutineScope { … }
lambda, so it throws the exception that led to failing, and you can catch it there without having the upper parent scope being cancelled. I finally understood the whole structured concurrency behavior!oshai
11/22/2018, 5:12 PMlouiscad
11/22/2018, 8:12 PMawait()
is called from inside the coroutineScope { … }
lambda as well, yes.
I'll see if I can submit an improvement to the docs regarding this when I am inspired.oshai
11/22/2018, 8:34 PM