- From: Adam Rice <notifications@github.com>
- Date: Thu, 24 Nov 2016 02:53:42 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Thursday, 24 November 2016 10:55:00 UTC
ricea commented on this pull request.
> @@ -173,11 +176,26 @@ function WritableStreamFinishClose(stream) {
defaultWriterClosedPromiseResolve(stream._writer);
}
-function WritableStreamFulfillWriteRequest(stream) {
- assert(stream._writeRequests.length > 0);
+function WritableStreamRejectUnresolvedPromises(stream) {
+ const state = stream._state;
+ assert(state === 'writable' || state === 'closing' || state === 'errored');
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 Thursday, 24 November 2016 10:55:00 UTC