Re: [streams] Move stuff into controller to make RS and RBS closer (#418)

>    t.end();
>  });
>  
>  test('ReadableByteStream: getReader(), then releaseLock()', t => {
> -  const rbs = new ReadableByteStream({
> -    pull() {

Yes. Before this merge, the RBS had a behavior different from RS. The RBS invoked pull only in response to read() call. Now, it's given the queuing strategy mechanism. The HWM is set to 1, and so it invokes pull automatically once start completes and when the queue size is less than 1.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/418/files#r49825974

Received on Friday, 15 January 2016 07:04:34 UTC