Re: [whatwg/encoding] Add support for whatwg streams (9224c4c)

What @tyoshino said reminded me why I made .stream() a static method rather than an object method. TextEncoder is okay because it's stateless, but using a single TextDecoder object as a stream transform while also calling the .decode() method is a recipe for confusion.

-- 
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/commit/9224c4cad81fd5720306fe79241cf04b5526a3f0#commitcomment-19169797

Received on Monday, 26 September 2016 09:46:39 UTC