https://kotlinlang.org logo
g

groostav

06/22/2017, 7:24 AM
but both of those devices are for a kind of passive strategy, for your work I might suggest a more standard
close()
flow wherein you just have the root of each coroutine use
launch(this::coroutineWorkload).also { jobs += it }.join()