- From: Adam Rice <notifications@github.com>
- Date: Sun, 04 Dec 2016 18:14:18 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 5 December 2016 02:14:53 UTC
ricea commented on this pull request. > + 1. <a>Resolve</a> _stream_.[[pendingAbortRequest]] with *undefined*. + 1. Set _stream_.[[pendingAbortRequest]] to *undefined*. +</emu-alg> + +<h4 id="writable-stream-reject-unresolved-promises" aoid="WritableStreamRejectUnresolvedPromises" +nothrow>WritableStreamRejectUnresolvedPromises ( <var>stream</var> )</h4> + +<emu-alg> + 1. Assert: _stream_.[[state]] is `"errored"`. + 1. Assert: _stream_.[[pendingWriteRequest]] is *undefined*. + 1. Let _storedError_ be _stream_.[[storedError]]. + 1. Repeat for each _writeRequest_ that is an element of _stream_.[[writeRequests]], + 1. <a>Reject</a> _writeRequest_ with _storedError_. + 1. Set _stream_.[[writeRequests]] to an empty List. + 1. If _stream_.[[pendingCloseRequest]] is not *undefined*, + 1. Assert: _stream_.[[writableStreamController]].[[inClose]] is *false*, Done -- 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/619
Received on Monday, 5 December 2016 02:14:53 UTC