From: Mikeal Rogers <mikeal.rog...@gmail.com>
Date: Sat, 13 Oct 2012 22:33:00 +0200
Subject: Re: [nodejs] Re: How to write stream chunk by chunk with callbacks
i'm not engaging with your strawman Bruno.
i showed how we *actually* move data in node. this is not a debate, that's how it works. if anyone wants to use node, or write a module that has a stream that moves data, that's how they do it.
this was a question, not an open invitation for bikeshedding. please let the list answer questions.
On Oct 13, 2012, at October 13, 20128:04 PM, Bruno Jouhier <bjouh...@gmail.com> wrote:
> What's wrong?
> You'll find links to gists at the end of my post. The code works!
> On Saturday, October 13, 2012 7:31:54 PM UTC+2, Mikeal Rogers wrote:
> inputStream.pipe(outputStream)
> On Oct 13, 2012, at October 13, 20127:23 PM, Bruno Jouhier <bjou...@gmail.com> wrote:
>> I wrote a post about plain callback APIs for streams: http://bjouhier.wordpress.com/2012/07/04/node-js-stream-api-events-or...
>> On Saturday, October 13, 2012 11:17:13 AM UTC+2, Alexey Petrushin wrote:
>> I need to write custom stream implementation and writing it with proper handling of `pause/resume` functionality seems not a very easy task.
>> Plain callbacks seems simpler to me, can streams be somehow wrapped into a code like that ( code with highlighting https://gist.github.com/3883920 ) ?
>> var copy = function(inputStream, outputStream, callback){
>> -- > -- You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||