GraftJS / jschan

JavaScript port of libchan based around streams
MIT License
157 stars 9 forks source link

Automatic recode transform streams in object mode into Channels. #29

Closed mcollina closed 9 years ago

mcollina commented 9 years ago

This adds support for automatic transforming Transform Streams into Channels.

@AdrianRossouw what do you think?

I also refactored the whole encoding thing, so it might be easier to fix your use case too.

AdrianRossouw commented 9 years ago

@mcollina sorry i didn't get chance to review this.

would this solve the other issue I have? wanna chat about it on gitter?

mcollina commented 9 years ago

No, this doesn't solve the issue you are facing, but the encoder is all refactored and much simpler to understand. In theory, this could lead to a fix of your issue.

I'm still think if we want loops or not in the our system, e.g. I send a stream back and forth up until it saturates the bandwidth. These can be really hard to debug.