-
-
Notifications
You must be signed in to change notification settings - Fork 28
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
Read data asynchronously #14
Conversation
Could you rebase from master? |
Am doing, gimme a second, jeez. |
Sorted 😉 |
Sorry, didn't want to put pressure on you :). |
Haha, no worries man I was just kidding. |
It's already async (AFAIK), and this code is intentional. See eedcea4. |
Are you sure? Does |
|
@SamVerschueren @kevva I just had another look at this and it is indeed currently async. The difference is with the In effect it's kind of using the new Streams2 api Up to you guys :) |
I guess, but I don't want to take the chance. Not worth potential breakage. Too many modules depend on this one. The current version should also be slightly faster as event emitting is slower than reading from a function, and the version in master uses a lot less events. |
Doesn't block while waiting for stdin to finish.
Discussed in #13