Re: [whatwg/streams] Review request on the ReadableStream API (#433)

@wenbozhu A ReadableStream can be constructed in scripts by providing their own underlying source and obtaining a ReadableStreamDefaultController/ReadableByteStreamController. I.e. the controllers are exposed to scripts. But for web APIs e.g. the Fetch API, the controller is internal to them. Or even they can omit the controllers and access the ReadableStream interface directly. ReadableStream's public interface is the only interface the users of the web APIs would see.

You can consider the controller stuff as a helper for easier buffering especially for adopting push source.

---
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/433#issuecomment-213272508

Received on Friday, 22 April 2016 05:50:35 UTC