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

> the queue is empty and highWaterMark === 0, in which case there is backpressure and pull() calls are not being suppressed

This depends on how you interpret the signals. The note at `get desiredSize` might be seen as implying that assumption. But we're not explicitly saying that `desiredSize <= 0` is equivalent to whether or not there's backpressure. What people would see is that there're two signals, desiredSize and pull() invocation. Until the desiredSize interface was added for more precise flow-control, there was only pull().

We should show the same signals to the transform stream's controller. You've added desiredSize. I suggest that we translate pull() to transform invocation.

-- 
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#issuecomment-256514722

Received on Thursday, 27 October 2016 00:28:36 UTC