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

ricea commented on this pull request.



> @@ -342,10 +338,11 @@ module.exports = class TransformStream {
     this._writableDone = false;
     this._readableClosed = false;
 
-    this._resolveWrite = undefined;
-
-    this._chunkPending = false;
-    this._chunk = undefined;
+    // readableBackpressure begins in an unknown state, to be determined at

I find this confusing. Perhaps use an explicit enum like "undefined", "no", "yes" or similar?

-- 
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#pullrequestreview-5205769

Received on Friday, 21 October 2016 06:48:49 UTC