Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
2.3.0
-
None
Description
val par = (1 to 100).par.flatMap { i => Thread.sleep(1000) 1 to 1000 }.toSeq
We are unable to interrupt the execution of parallel collections. We need to create a common utility function to do it, instead of using Scala parallel collections