- From: Domenic Denicola <notifications@github.com>
- Date: Tue, 14 Apr 2015 11:22:57 -0700
- To: whatwg/streams <streams@noreply.github.com>
Received on Tuesday, 14 April 2015 18:23:31 UTC
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