Since Swift supports Java Stream interface/methods (map, filter, reduce, etc.) by default for Arrays I was wondering if there is support for parallel execution like in java?
E.g.
[1,2,3].parallel().map { x -> x*2 }.filter { x -> condition(x) } etc.
In Java if streams are "programmed correctly", meaning the combiner phase is done right, then parallelizing the work is very easy, by just adding parallel() call in the chain.