- From: Takeshi Yoshino <notifications@github.com>
- Date: Mon, 09 Feb 2015 00:59:13 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 9 February 2015 08:59:40 UTC
> @@ -797,16 +763,44 @@ The <code>length</code> property of the <code>cancel</code> method is <b>1</b>. > <li> Otherwise, return <b>undefined</b>. > </ol> > > +<h4 id="cancel-readable-stream">CancelReadableStream ( stream )</h4> > + > +<ol> > + <li> If <b>this</b>@\[[state]] is <code>"closed"</code> or <code>"errored"</code>, return > + <b>this</b>@\[[closedPromise]]. > + <li> Let <b>this</b>@\[[queue]] be a new empty List. > + <li> Call-with-rethrow CloseReadableStream(<var>stream</var>). > + <li> Let <var>sourceCancelPromise</var> be PromiseInvokeOrNoop(<b>this</b>@\[[underlyingSource]], > + <code>"cancel"</code>, (<var>reason</var>)). Done. Do you prefer using a raw character than using a character reference? --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/277/files#r24315027
Received on Monday, 9 February 2015 08:59:40 UTC