Use Action.async with Future instead of blocking

Proprietary

Finds Play controller actions (Action { or Action.async {) that contain Await.result blocking calls. Blocking inside Play Actions can exhaust the thread pool; use Action.async with Future instead.

org.openrewrite.scala.migrate.play.UseAsyncPlayAction
mod run . --recipe=org.openrewrite.scala.migrate.play.UseAsyncPlayAction

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