Re: [whatwg/streams] Unified error handling for WritableStream (#721)

ricea commented on this pull request.



>    1. Return ! WritableStreamDefaultWriterClose(_writer_).
 </emu-alg>
 
+<h4 id="writable-stream-default-writer-ensure-closed-promise-rejected"
+aoid="WritableStreamDefaultWriterEnsureClosedPromiseRejected"
+nothrow>WritableStreamDefaultWriterEnsureClosedPromiseRejected( <var>writer</var>, <var>error</var> )</h4>

It would be ugly in the reference implementation because of the way the state promises are manipulated by a set of functions there.

-- 
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/721#discussion_r110084080

Received on Thursday, 6 April 2017 06:04:36 UTC