joinChildren

suspend fun Job.joinChildren(): Unit (source)

Suspends coroutine until all children of this job are complete using Job.join for all of them. Unlike Job.join on this job as a whole, it does not wait until this job is complete.