Re: [whatwg/streams] Add controller arguments to sink write and close (#538)

@isonmad: For `write()` the function is the same as for `start()` -- you can error the stream even when there is no write pending. The benefit is that you don't have to artificially implement `start()` just to do this.

The arguments for `close()` are much weaker:

- Consistency.
- `controller` may gain more methods in future.

I could be persuaded either way.

-- 
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/538#issuecomment-255667636

Received on Monday, 24 October 2016 07:31:43 UTC