Re: [streams] Merge ReadableByteStream into ReadableStream (#430)

I'd like to discuss reorganization of the parameters of the ReadableStream constructor.

Now the `size` argument is specific to underlying (non-byte) sources. On the other hand, the `byob` parameter is common to both source types. Not a parameter configuring the sources, but a parameter to tell ReadableStream what kind of source we're passing.

I feel it's strange that `byob` is in `underlyingSource` while `size` is separated from it.

- It's ok that `byob` is in `underlyingSource`, but then `size` should also be included in `underlyingSource`.
- It's also ok that `size` being separated, but then `byob` should also be separated.

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

Received on Thursday, 10 March 2016 12:20:34 UTC