Overview.htm
changeset 157 8425522710ab
parent 156 a0e5ee8be17c
child 158 3d0f6af1ef24
equal deleted inserted replaced
156:a0e5ee8be17c 157:8425522710ab
   704 					<li>If <var>pendingWrite.promise</var> is not <code>null</code>, fulfill it with <var>writtenAmount</var></li>
   704 					<li>If <var>pendingWrite.promise</var> is not <code>null</code>, fulfill it with <var>writtenAmount</var></li>
   705 				</ol>
   705 				</ol>
   706 			</p>
   706 			</p>
   707 
   707 
   708 			<p>
   708 			<p>
   709 				When <a>dataSink</a> notified the <a>WritableStream</a> of that <a>data sink is gone</a> with an object <var>reason</var> which represents the reason, run the steps below:
   709 				When <a>dataSink</a> notifies of that <a>data sink is gone</a> with an object <var>reason</var> which represents the reason, run the steps below:
   710 
   710 
   711 				<ol>
   711 				<ol>
   712 					<li>
   712 					<li>
   713 						<dl class="switch">
   713 						<dl class="switch">
   714 							<dt>If in the event loop</dt>
   714 							<dt>If in the event loop</dt>
   723 					<li><a>Abort awaitSpace</a></li>
   723 					<li><a>Abort awaitSpace</a></li>
   724 				</ol>
   724 				</ol>
   725 			</p>
   725 			</p>
   726 
   726 
   727 			<p>
   727 			<p>
   728 				When <a>dataSink</a> notified the <a>WritableStream</a> of failure of data writing with an object <var>reason</var> which represents the detail of the error, run the steps below:
   728 				When <a>dataSink</a> notifies of failure of data writing with an object <var>reason</var> which represents the detail of the failure, run the steps below:
   729 
   729 
   730 				<ol>
   730 				<ol>
   731 					<li>
   731 					<li>
   732 						<dl class="switch">
   732 						<dl class="switch">
   733 							<dt>If in the event loop</dt>
   733 							<dt>If in the event loop</dt>