Find Object.notify / notifyAll calls inside suspend functions
ProprietaryMonitor-based signaling (notify/notifyAll) doesn't compose with coroutine cancellation or structured concurrency. Replace with a Channel, MutableSharedFlow, or CompletableDeferred to wake suspended coroutines.
org. openrewrite. kotlin. coroutines. FindObjectNotifyInSuspend$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. coroutines. FindObjectNotifyInSuspend$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.