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

Consume items in batch, instead of one by one #418

Open
mnecochear opened this issue Jul 9, 2019 · 1 comment
Open

Consume items in batch, instead of one by one #418

mnecochear opened this issue Jul 9, 2019 · 1 comment

Comments

@mnecochear
Copy link

Hi,

I have a situation like the one outlined in the image below, where my producer feeds Products to a function that queries a database for some information about them. I'd like to get this information in batch, and not one by one, so that I don't open & close too many connections to the database. Is there a function that can serve this purpose (Something like awaitMany, for instance)? Or a good way to achieve this?

outline

Thank you!

@snoyberg
Copy link
Owner

snoyberg commented Jul 10, 2019 via email

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

No branches or pull requests

2 participants