Re: [whatwg/streams] Define valid queuing strategy (#427)

- 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