but both of those devices are for a kind of passiv...
# coroutines
g
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()