- From: Adam Rice <notifications@github.com>
- Date: Mon, 23 Oct 2017 12:07:21 +0000 (UTC)
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 23 October 2017 12:07:48 UTC
ricea commented on this pull request. > +</emu-alg> + +<h5 id="ts-default-source-pull" method for="TransformStreamDefaultSource">pull()</h5> + +<emu-alg> + 1. Let _stream_ be *this*.[[ownerTransformStream]]. + 1. Assert: _stream_.[[backpressure]] is *true*. + 1. Assert: _stream_.[[backpressureChangePromise]] is not *undefined*. + 1. Perform ! TransformStreamSetBackpressure(_stream_, *false*). + 1. Return _stream_.[[backpressureChangePromise]]. +</emu-alg> + +<h5 id="ts-default-source-cancel" method for="TransformStreamDefaultSource">cancel(<var>reason</var>)</h5> + +<emu-alg> + 1. Perform ! TransformStreamError(*this*.[[ownerTransformStream]], _reason_). It actually does behave like terminate, because the readable side is already closed when cancel() is called. I added a note to make this clearer. -- 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/811#discussion_r146243890
Received on Monday, 23 October 2017 12:07:48 UTC