Re: [whatwg/streams] Factor out condition to check pending operation (#672)

tyoshino commented on this pull request.



>      writer._closedPromise.catch(() => {});
   }
 }
 
-function WritableStreamRejectPromisesInReactionToError(stream) {
+function WritableStreamRejectPromisesInReactionToError(stream, reason) {

OK. It seems I was stuck by the difficulties experienced during the refactoring which is no longer valid now. I also started feeling that the "InReactionToError" suffix is helping me enough understand that it reads storedError and sync readyPromise with it.

I've reverted them to use storedError.

-- 
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/672#discussion_r105101262

Received on Thursday, 9 March 2017 07:34:39 UTC