Re: [whatwg/streams] make TransformStream respect backpressure (#550)

isonmad commented on this pull request.



>      assert(this._writableController !== undefined);
     assert(this._readableController !== undefined);
 
+    const desiredSize = this._readableController.desiredSize;
+    TransformStreamSetBackpressure(this, desiredSize <= 0);

`TransformStreamSetBackpressure(this, true)` does the exact opposite of suppressing `pull()`. It sets backpressure to true, meaning pull is NOT suppressed.

-- 
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/550

Received on Thursday, 27 October 2016 00:26:49 UTC