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

tyoshino commented on this pull request.



> @@ -3470,6 +3468,14 @@ nothrow>WritableStreamDefaultControllerGetDesiredSize ( <var>controller</var> )<
   1. Return _controller_.[[strategyHWM]] − _queueSize_.
 </emu-alg>
 
+<h4 id="writable-stream-has-operation-marked-inflight" aoid="WritableStreamHasOperationMarkedInflight"
+nothrow>WritableStreamHasOperationMarkedInflight ( <var>stream</var> )</h4>
+
+<emu-alg>
+  1. If _stream_.[[inflightWriteRequest]] is not *undefined* or _controller_.[[pendingCloseRequest]] is not *undefined*, return *true*.

Fixed!

-- 
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_r104649410

Received on Tuesday, 7 March 2017 11:53:32 UTC