scala / scala-parallel-collections

Parallel collections standard library module for Scala 2.13+

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add `ParIterable#tapEach` method

java-coding-prodigy opened this issue · comments

ParIterable does not have a tapEach method unlike the normal scala interface.
We should implement this

Yeah this sounds useful if we want to parallelize side effects. Though the work doesn't seem that simple

We have map and for each, can’t we just make a tapEach in the same way?