- From: Adam Rice <notifications@github.com>
- Date: Mon, 23 Oct 2017 06:05:04 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 23 October 2017 13:05:30 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_). I made factored out a new abstract op named "TransformStreamErrorWritableAndUnblockWrite". PTAL. -- 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_r146257090
Received on Monday, 23 October 2017 13:05:30 UTC