You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've made two base classes, assuming that would be the easiest to start from.
I guess in the future a duplex might be the simplest adaptor? Not sure.
I don't really know how to integrate the pull-y-ness into the regular streams3 api though... we probably need to go deep and mess with events and such I guess?
I would go with a different approach, and completely encapsulate the source and the sink. IMHO our Readable should act as a Sink for Bob, and Writable as a Source. Something like
looking at the code, I would structure it differently, not exposing the
bind* method directly, but having it as a private helper.
Il giorno mer 31 ott 2018 alle 16:43 Jeremiah Senkpiel <
notifications@github.com> ha scritto:
Heya @mcollina, @mafintosh
I've made two base classes, assuming that would be the easiest to start from.
I guess in the future a duplex might be the simplest adaptor? Not sure.
I don't really know how to integrate the pull-y-ness into the regular streams3 api though... we probably need to go deep and mess with events and such I guess?
readable-sink.js & writable-source.js
The text was updated successfully, but these errors were encountered: