Hi Floby, Thanks for your answer.
Yep, I know about the stream api. I just need to access readable._readableState object properties for developing my module. On Thursday, 21 November 2013 04:31:23 UTC-5, Floby wrote: > > I believe you should `push()` at some point. > > On Wednesday, 20 November 2013 20:03:00 UTC+1, Laurent Fortin wrote: >> >> Hi, >> >> >> I am currently working on a small toolkit module for handling data >> streams (for the "streams2" API). >> https://github.com/lfortin/node-stream-tk >> >> >> However I am getting a strange behavior on Windows. >> >> >> I am trying this in the REPL on the Windows platform: >> >> >> var readable = new stream.Readable( ); >> readable._read = function( ) { }; // just implement a _read method >> readable.resume( ); >> >> readable._readableState.flowing; // --> still equals 'false' even after >> resume( ) ... >> >> >> Shouldn't the readable stream be in "flowing mode" after resuming? >> >> >> This was attempted using node v0.10.22. >> >> >> Please advise, >> >> >> Thanks in advance, >> >> >> -Laurent >> > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
