Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ParIterable#tapEach method #235

Open
java-coding-prodigy opened this issue Jan 7, 2023 · 3 comments
Open

Add ParIterable#tapEach method #235

java-coding-prodigy opened this issue Jan 7, 2023 · 3 comments

Comments

@java-coding-prodigy
Copy link

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

@yzia2000
Copy link

yzia2000 commented Sep 16, 2023

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

@java-coding-prodigy
Copy link
Author

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

@SethTisue
Copy link
Member

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

Yes, a PR on this would be most welcome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants