"Piping streams" demo: should the ReadableStream remove data?
ricea opened this issue · 1 comments
ricea commented
I think it would be better from an encapsulation perspective if the ReadableStream removed the characters. from the left-hand side. Then the writable stream would only have to add them into the div on the right-hand side.
This would mean that the WritableStream was reusable with other sources of data.
TejasQ commented
Thanks! Definitely agree. Adjusting now.