hxnodejs icon indicating copy to clipboard operation
hxnodejs copied to clipboard

Stream API for implementors

Open nadako opened this issue 11 years ago • 2 comments

See http://nodejs.org/api/stream.html#stream_api_for_stream_implementors

I guess we can provide signatures for that by specifying private methods in externs.

nadako avatar Oct 07 '14 09:10 nadako

I added documented private methods, but I'm worried about that objectMode option. It means that instead of strings and buffers, streams can read/write random objects which really goes contrary with strict typing.

Maybe we should not support that for now and think of some separate extern base classes for object streams.

nadako avatar Oct 20 '14 13:10 nadako

@nadako Does this issue still relevant?

mikicho avatar Sep 08 '18 19:09 mikicho