Find forEach { it.join() } over List<Job>

Proprietary

Sequential .forEach { it.join() } waits for each Job to complete before starting the next wait. joinAll() waits for all jobs concurrently with a single suspension point.

org.openrewrite.kotlin.coroutines.FindForEachJoin$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.coroutines.FindForEachJoin$KtRecipe'

Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.