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

Make Stream() an async iterator #36

Open
Fishrock123 opened this issue Jun 14, 2019 · 1 comment
Open

Make Stream() an async iterator #36

Fishrock123 opened this issue Jun 14, 2019 · 1 comment

Comments

@Fishrock123
Copy link
Owner

I think Stream() would be a good place for this, what does everyone else think?

We should also be sure to handle cases such as nodejs/node#28194

@Raynos
Copy link
Collaborator

Raynos commented Jun 19, 2019

Stream is a utility for connecting multiple bob streams together. It seems to be used like pipeline()

For async iterator use case we can just export a function or class to make the iterator.

Doing this in stream() means you cannot really create an iterator for a single source or duplex cleanly

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