woah streams 2 is confusing
@tjholowaychuk aside from piping and inheriting from the types, I still use the .on('data') API
-
-
@calvinfo I don't really get how you use the other api, seems like associating it with a callback would require .once() -
@tjholowaychuk I think 'ready' gets emitted multiple times, and whatever you put in the callback expects to .read until the buffer is empty -
@tjholowaychuk erm, emit 'readable'. I still prefer the old API, but the Read/Write/Transform prototypes make it easy to write new streams.
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.