Re: [whatwg/streams] Interface for push based ReadableStream? (#889)

pull() is called on initialization in order to fill the internal queue up to the default high water mark of 1, so that there is always data available to be read when the consumer asks. If you'd prefer to not have a high water mark of 1, you can set it as such when creating your readable stream, e.g. by passing `new CountQueuingStrategy({ highWaterMark: 0 })` as the second argument.

-- 
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/889#issuecomment-367514112

Received on Wednesday, 21 February 2018 23:29:53 UTC