- From: Domenic Denicola <notifications@github.com>
- Date: Wed, 21 Feb 2018 23:29:28 +0000 (UTC)
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 21 February 2018 23:29:53 UTC
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