Scala 3, Programming Scala.
to use and it adds the following additional benefits: The implementation uses a new scala.util.boundary$.Break class that derives from RuntimeException. Therefore, non-localbreaks are logically implemented as non-fatal exceptions and the implementation is optimized to suppress unnecessary stack