Re: [streams] Precise flow control for readable streams (#317)

> desiredSize name

Sounds good. Important points are:
- room for enqueuing
- it's not a hard limit

`desiredSize` satisfies both.

> Should we move strategy to a second constructor parameter, instead of putting it on the underlying source and sink?

I like the separated design slightly more. The strategy specifies the behavior of the buffer inside the ReadableStream class while `underlyingSource` is a pointer to a different component.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/pull/317#issuecomment-94353146

Received on Monday, 20 April 2015 04:27:13 UTC