-
Notifications
You must be signed in to change notification settings - Fork 8
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
Something like a Broadcaster? #31
Comments
Thanks for the kudos, and thanks for the suggestion! Up until now, I've mostly concentrated on the reader side of the equation, but that's only due to the happenstance of my particular needs. I've wondered if a any writer-side helpers might be of use to folks, and it looks like you have just such a case. In terms of API of the constructed instance, I think what you're asking for is just to provide the standard Node writable stream interface. Is that correct? If so, that sounds totally reasonable to me. As a matter of detail, I've settled on taking arrays for multiple streams rather than having them be separate arguments, because (a) it makes some use cases easier (that you'd otherwise need to resort to What do you think? |
Exactly, follow the standard. :) About arrays vs dynamic arguments: I don't mind. In fact, the standard |
I'm not sure how much time I'll be able to devote to this in the very short term (or rather, I probably won't have much), but I did a quick and as yet untested sketch in the branch |
Wow. The Can't wait to test it! |
I mean, an utility which gets a list of Writable streams as destinations,
then writes any data it recieves to every destination.
I run into this issue very often, especially when I want to stream some
live data into the client and record it in a file.
It should also broadcast other events such as
end
.This is the only utility I miss in Pipette. Excuse me if it's already present.
PD: Thumbs up, this is a _great module!_
I don't understand why it has so few watchers.
The text was updated successfully, but these errors were encountered: