- From: Yutaka Hirano <notifications@github.com>
- Date: Tue, 24 Nov 2020 00:41:34 -0800
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 24 November 2020 08:41:46 UTC
@yutakahirano commented on this pull request.
> @@ -86,3 +102,24 @@ function makeReadableByteStream() {
With this in hand, we can create and use BYOB readers for the returned `ReadableStream`. The adaptation between the
low-level byte tracking of the underlying byte source shown here, and the higher-level chunk-based consumption of
a default reader, is all taken care of automatically by the streams implementation.
+
+
+## Goals
+
+* Support for {type: “bytes”} in the [ReadableStream constructor](https://streams.spec.whatwg.org/#rs-constructor).
I think these are means rather than goals. How about the following?
- Provide a way to represent a ReadableStream for bytes efficiently.
- Avoid races caused by multiple access for the same buffer.
--
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/pull/1088#pullrequestreview-537235167
Received on Tuesday, 24 November 2020 08:41:46 UTC