Find mono.awaitSingle() calls inside Flux/Flow collectors

Proprietary

awaitSingle() is the right bridge from a single-value Mono into a coroutine. Inside a Flux.collect / Flow.collect over many elements, however, the pattern often signals that the surrounding code is mixing two stream models — flag for review.

org.openrewrite.kotlin.spring.FindMonoAwaitSingle$KtRecipe
mod run . --recipe='org.openrewrite.kotlin.spring.FindMonoAwaitSingle$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.