If I have a sequence of objects, and a sequence of transformations of object to object, Is there an idiom I can use to run the transformations in parallel?
More specifically suppose I have a
seq:Seq[A1], and functions
E.g., How can I do the following:
val result:Seq[T6] = seq.map(f1).map(f2).map(f3).map(f4).map(f5)
in a way so that the functions
fk have a chance to run in parallel/concurrently if resources permit?