Remove more unnecessary task queuing
authorTakeshi Yoshino <tyoshino@google.com>
Thu, 30 Jan 2014 15:27:42 +0900
changeset 156 a0e5ee8be17c
parent 155 841bc807e839
child 157 8425522710ab
Remove more unnecessary task queuing
Overview.htm
--- a/Overview.htm	Thu Jan 30 15:25:53 2014 +0900
+++ b/Overview.htm	Thu Jan 30 15:27:42 2014 +0900
@@ -743,41 +743,15 @@
 			</p>
 
 			<p>
-				When <a>dataSink</a> acknowledges the <a>write EOF</a>, run the steps below:
-
-				<ol>
-					<li>
-						<dl class="switch">
-							<dt>If in the event loop</dt>
-							<dd>Run the rest of these steps</dd>
-							<dt>Otherwise</dt>
-							<dd>Queue a task which runs the rest of these steps</dd>
-						</dl>
-					</li>
-
-					<li>Fulfill <var>writeClosePromise</var> with <code>undefined</code></li>
-				</ol>
+				When <a>dataSink</a> notifies of acknowledgement of the <a>write EOF</a> signal, fulfill <var>writeClosePromise</var> with <code>undefined</code>
 			</p>
 
 			<p>
-				When <a>dataSink</a> notifies of failure of the <a>write EOF</a> signal with <var>reason</var>, run the steps below:
-
-				<ol>
-					<li>
-						<dl class="switch">
-							<dt>If in the event loop</dt>
-							<dd>Run the rest of these steps</dd>
-							<dt>Otherwise</dt>
-							<dd>Queue a task which runs the rest of these steps</dd>
-						</dl>
-					</li>
-
-					<li>Reject <var>writeClosePromise</var> with <var>reason</var></li>
-				</ol>
+				When <a>dataSink</a> notifies of failure of the <a>write EOF</a> signal with <var>reason</var>, reject <var>writeClosePromise</var> with <var>reason</var>
 			</p>
 
 			<p>
-				When <a>dataSink</a> acknowledges the <a>write abort</a>, fulfill <var>writeAbortPromise</var> with <code>undefined</code>
+				When <a>dataSink</a> notifies of acknowledgement of the <a>write abort</a> signal, fulfill <var>writeAbortPromise</var> with <code>undefined</code>
 			</p>
 
 			<p>