From 7e94ab9741d4958fedbb99b4aca4ef1cd27df368 Mon Sep 17 00:00:00 2001 From: Jarred Sumner Date: Thu, 4 Mar 2021 12:32:42 -0800 Subject: [PATCH 1/2] Typo in ReadableStreamBYOBReader doc --- files/en-us/web/api/readablestreambyobreader/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/readablestreambyobreader/index.html b/files/en-us/web/api/readablestreambyobreader/index.html index d6fb9ea36033e79..614caaee08e5539 100644 --- a/files/en-us/web/api/readablestreambyobreader/index.html +++ b/files/en-us/web/api/readablestreambyobreader/index.html @@ -34,7 +34,7 @@

Methods

{{domxref("ReadableStreamBYOBReader.cancel()")}}
Returns a {{jsref("Promise")}} that resolves when the stream is canceled. Calling this method signals a loss of interest in the stream by a consumer. The supplied reason argument will be given to the underlying source, which may or may not use it.
{{domxref("ReadableStreamBYOBReader.read()")}}
-
Returns a {{jsref("Promise")}} that resolves with an object indicating the state of the stream: either the net chuck in the stream or an indication that the stream is closed.
+
Returns a {{jsref("Promise")}} that resolves with an object indicating the state of the stream: either the chunk in the stream or an indication that the stream is closed.
{{domxref("ReadableStreamBYOBReader.releaseLock()")}}
Releases the reader's lock on the stream.
From cef223100544c3bfe22fd7c3d3605779682d1a36 Mon Sep 17 00:00:00 2001 From: "Michael[tm] Smith" Date: Fri, 5 Mar 2021 08:00:10 +0900 Subject: [PATCH 2/2] Update files/en-us/web/api/readablestreambyobreader/index.html --- files/en-us/web/api/readablestreambyobreader/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/en-us/web/api/readablestreambyobreader/index.html b/files/en-us/web/api/readablestreambyobreader/index.html index 614caaee08e5539..c97e49149907942 100644 --- a/files/en-us/web/api/readablestreambyobreader/index.html +++ b/files/en-us/web/api/readablestreambyobreader/index.html @@ -34,7 +34,7 @@

Methods

{{domxref("ReadableStreamBYOBReader.cancel()")}}
Returns a {{jsref("Promise")}} that resolves when the stream is canceled. Calling this method signals a loss of interest in the stream by a consumer. The supplied reason argument will be given to the underlying source, which may or may not use it.
{{domxref("ReadableStreamBYOBReader.read()")}}
-
Returns a {{jsref("Promise")}} that resolves with an object indicating the state of the stream: either the chunk in the stream or an indication that the stream is closed.
+
Returns a {{jsref("Promise")}} that resolves with an object indicating the state of the stream: either the next chunk in the stream or an indication that the stream is closed.
{{domxref("ReadableStreamBYOBReader.releaseLock()")}}
Releases the reader's lock on the stream.