Re: [whatwg/streams] check if sink/source methods are callable in constructor (#568)

> So it's TransformStream's constructor that should be changed not to check this then?

Yeah

> Is there a reason the strategy object isn't similarly allowed to be changed arbitrarily, and gets decomposed instead?

Strategies are not treated as an object with methods; it is treated as  "record" that contains a number and a function. This helps avoid strategies being stateful, whereas an underlying source being stateful is normal.

-- 
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/pull/568#issuecomment-256545953

Received on Thursday, 27 October 2016 04:50:48 UTC