Re: [whatwg/streams] Default transform() method should be the identity transform (#565)

A long time ago when this last came up I was against this, prefering that we provide an explicit `TransformStream.identity()` and treat omitting the transform() transformer method as a bug. I guess those discussions were way back in https://github.com/whatwg/streams/issues/20#issuecomment-47719057.

However, your argument about the two useful things it enables are pretty compelling and overturn my previous ideas. So let's indeed make it optional. We should try to remember to include such examples in the spec, when we get around to writing it.

-- 
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/streams/issues/565#issuecomment-256241854

Received on Wednesday, 26 October 2016 03:41:38 UTC