- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 23 Jun 2016 10:49:51 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc:
Received on Thursday, 23 June 2016 17:50:18 UTC
Pull is called three times in your example. You can run the following code in Chrome Canary (or with the reference implementation) to confirm: ```js let counter = 0; const rs = new ReadableStream({ pull(c) { c.enqueue("a"); console.log(`pull called ${++counter} times`); } }, { highWaterMark: 3 }); ``` This is tested in the web-platform-test general.js, "ReadableStream: should call pull after enqueueing from inside pull (with no read requests), if strategy allows". Going to close since this doesn't appear to be an issue, but happy to continue discussing and will reopen if I missed something! --- 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/issues/469#issuecomment-228128194
Received on Thursday, 23 June 2016 17:50:18 UTC