Scala, Concurrency, API, Project Loom, Java.
{ forever { try processSingleItem() catch case e: Exception => logger.error("Processing error", e) } } // do something else that keeps the scope busy } The fork above will never terminate, even if executing the scope's code ends: the block can only finish its execution when all child threads have