ylemoigne
10/07/2019, 6:59 AMprintln("Start receiving...
is not executed ? (or point me to the revelant part of documentation)octylFractal
10/07/2019, 7:03 AMcoroutineScope
block will suspend until all coroutines started in it finish executing, as part of structured concurrencyfun CoroutineScope.doJob() = produce {
println("Launch ${Thread.currentThread()}")
for (i ...) {
...
}
// no close required
}
ylemoigne
10/07/2019, 7:05 AMproduce
, I'll take a look