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

maxSize for collect? #38

Open
yocontra opened this issue Dec 12, 2018 · 2 comments
Open

maxSize for collect? #38

yocontra opened this issue Dec 12, 2018 · 2 comments

Comments

@yocontra
Copy link

Would be nice to set a max buffer (or max array) size for collect

@reconbot
Copy link
Contributor

This is similar to take from streaming-iterables. In the stream case we can't guarantee that we don't get more data than asked for. readasync might do what you're looking for.

@reconbot
Copy link
Contributor

This would work for object streams

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

2 participants