Re: [streams] Port precise flow control to writable streams (#318)

> I think desiredSize is the right thing to expose.

I have one other worry about desiredSize. Do you see it working in practice for UA created streams? E.g. let's take some examples (no comment on whether these will actually be implemented):

- HTTP upload writable stream (even though we decided against this)
- Write-to-IndexedDB stream
- TextEncoder transform stream writable side
- Streaming HTML parser writable stream

Do you think it will be reasonable for UAs to come up with high water marks for all of these, in order to govern desiredSize? Maybe in some cases the HWM will just be zero---is that OK as a default?

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/318#issuecomment-134717977

Received on Tuesday, 25 August 2015 19:50:26 UTC