- From: Domenic Denicola <notifications@github.com>
- Date: Mon, 09 Feb 2015 11:58:03 -0800
- To: whatwg/streams <streams@noreply.github.com>
Received on Monday, 9 February 2015 19:58:31 UTC
> @@ -812,16 +772,44 @@ The <code>length</code> property of the <code>cancel</code> method is <b>1</b>. > <li> 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>»). I prefer using the Unicode characters directly --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/pull/277/files#r24359697
Received on Monday, 9 February 2015 19:58:31 UTC