Re: [whatwg/streams] What should we call ReadableByteStream.prototype.getBYOBReader()? (#294)

Thanks.

> ... depend on how different the internal state tracking would be.

Yeah. I can't come up with estimation of the complexity it would add for now.

> ... it since it is not very web-exposed ...

I see.

> - Merge getBYOBReader into getReader using { mode: "byob" } as an argument

Yes!

> - (Maybe) rename ReadableStreamBYOBController to ReadableStreamBytesController or ReadableByteStreamController
But no renaming for ReadableStreamBYOBReader or ReadableStreamBYOBRequest or for the underlying source option (byob: true). Right?

I thought that if we rename ReadableStreamBYOBController, the underlying source option should also be renamed as it's an option telling what type of controller it needs or what set of reading operations the stream should expose.

But yeah, we could just add a new parameter say "bufferLeasing: true" in addition to byob.

So, ok.

---
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/294#issuecomment-205122917

Received on Monday, 4 April 2016 03:50:47 UTC