Re: [whatwg/encoding] Add Streams support (#72)

Well, I think TC39 is pretty far on the side of duck-typing, more so than we are comfortable with on the web platform. But the way I think of this is just that pipeThrough accepts a dictionary. This is generally what you want, to enable using it with cases like https://streams.spec.whatwg.org/#example-both.

Indeed there would be a lot of optimizations under the hood, but that's kind of built in to the whole piping idea. (And symbols vs. strings wouldn't really change that.)

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/encoding/issues/72#issuecomment-397004058

Received on Wednesday, 13 June 2018 16:36:13 UTC