Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Async collectors #4

Open
jroper opened this issue Mar 19, 2018 · 0 comments
Open

Async collectors #4

jroper opened this issue Mar 19, 2018 · 0 comments

Comments

@jroper
Copy link
Member

jroper commented Mar 19, 2018

Currently we're using the JDK8 collector API for doing all terminal accumulations. It would be good to have an async alternative, eg AsyncCollector, where the accumulator and finisher functions return CompletionStage of a value when they are done. Then async alternatives of collect, reduce etc can be provided.

Note this could probably be implemented by a stateful mapCompletionStage.

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

No branches or pull requests

1 participant