- From: Nicolas Le Gall <notifications@github.com>
- Date: Sat, 17 Dec 2016 08:03:39 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 17 December 2016 16:04:11 UTC
- Can highWaterMark be 0? (what could be the use cases?)
- Can highWaterMark be a float?
A related question: Why does a queuing strategy get an object as argument and not simply a value (`new CountQueingStrategy({ highWaterMark: 42 })` against `new CountQueingStrategy(42)`)?
Also, I think the constructor should raise a TypeError if given a bad highWaterMark value.
I think `highWaterMark` should be updatable since it might be useful for an `AdaptiveQueuingStrategy`.
--
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/427#issuecomment-267770468
Received on Saturday, 17 December 2016 16:04:11 UTC