Re: [streams] Add fine-grained flow control for readable stream (adb6f73)

The logic here is a bit convoluted. It is designed to implement an early return (don't call pull) if:

- no pending read requests exist, and
- desiredSize is <= 0.

In other words, we call pull if either of the following is true:

- desiredSize > 0, or
- there are pending read requests

So I think the case you are asking about will still call pull() since it will cause a pending read request to exist.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/commit/adb6f736b94c99d26b38869e72a0f3a179ec7b22#commitcomment-10720372

Received on Tuesday, 14 April 2015 18:23:31 UTC