diff --git a/files/en-us/web/api/readablestreambyobreader/closed/index.md b/files/en-us/web/api/readablestreambyobreader/closed/index.md index f3ea6ebce816771..e3cc11a7afdf226 100644 --- a/files/en-us/web/api/readablestreambyobreader/closed/index.md +++ b/files/en-us/web/api/readablestreambyobreader/closed/index.md @@ -15,8 +15,8 @@ browser-compat: api.ReadableStreamBYOBReader.closed The **`closed`** read-only property of the {{domxref("ReadableStreamBYOBReader")}} interface returns a -{{jsxref("Promise")}} that fulfills when the stream closes or the reader's lock -is released, or rejects if the stream throws an error. This property enables you +{{jsxref("Promise")}} that fulfills when the stream closes, or rejects if the +stream throws an error or the reader's lock is released. This property enables you to write code that responds to an end to the streaming process. ## Syntax diff --git a/files/en-us/web/api/readablestreambyobreader/index.md b/files/en-us/web/api/readablestreambyobreader/index.md index e13bd8aa0e9df63..4349184d3c57ed2 100644 --- a/files/en-us/web/api/readablestreambyobreader/index.md +++ b/files/en-us/web/api/readablestreambyobreader/index.md @@ -23,7 +23,7 @@ The `ReadableStreamBYOBReader` interface of the [Streams API](/en-US/docs/Web/AP ## Properties - {{domxref("ReadableStreamBYOBReader.closed")}} {{readonlyInline}} - - : Returns a {{jsxref("Promise")}} that fulfills when the stream closes or the reader's lock is released, or rejects if the stream throws an error. This property enables you to write code that responds to an end to the streaming process. + - : Returns a {{jsxref("Promise")}} that fulfills when the stream closes, or rejects if the stream throws an error or the reader's lock is released. This property enables you to write code that responds to an end to the streaming process. ## Methods diff --git a/files/en-us/web/api/readablestreamdefaultreader/closed/index.md b/files/en-us/web/api/readablestreamdefaultreader/closed/index.md index 97f02afa87532fa..71ae5f7666f29cd 100644 --- a/files/en-us/web/api/readablestreamdefaultreader/closed/index.md +++ b/files/en-us/web/api/readablestreamdefaultreader/closed/index.md @@ -14,8 +14,8 @@ browser-compat: api.ReadableStreamDefaultReader.closed The **`closed`** read-only property of the {{domxref("ReadableStreamDefaultReader")}} interface returns a -{{jsxref("Promise")}} that fulfills when the stream closes or the reader's lock -is released, or rejects if the stream throws an error. This property enables you +{{jsxref("Promise")}} that fulfills when the stream closes, or rejects if the +stream throws an error or the reader's lock is released. This property enables you to write code that responds to an end to the streaming process. ## Syntax diff --git a/files/en-us/web/api/readablestreamdefaultreader/index.md b/files/en-us/web/api/readablestreamdefaultreader/index.md index 2383a3368aee096..1b53c3acd4cd2b2 100644 --- a/files/en-us/web/api/readablestreamdefaultreader/index.md +++ b/files/en-us/web/api/readablestreamdefaultreader/index.md @@ -22,7 +22,7 @@ The **`ReadableStreamDefaultReader`** interface of the [Streams API](/en-US/docs ## Properties - {{domxref("ReadableStreamDefaultReader.closed")}} {{readonlyInline}} - - : Returns a {{jsxref("Promise")}} that fulfills when the stream closes or the reader's lock is released, or rejects if the stream throws an error. This property enables you to write code that responds to an end to the streaming process. + - : Returns a {{jsxref("Promise")}} that fulfills when the stream closes, or rejects if the stream throws an error or the reader's lock is released. This property enables you to write code that responds to an end to the streaming process. ## Methods diff --git a/files/en-us/web/api/writablestreamdefaultwriter/closed/index.md b/files/en-us/web/api/writablestreamdefaultwriter/closed/index.md index d0d7a5418ba902e..787874c4ff05838 100644 --- a/files/en-us/web/api/writablestreamdefaultwriter/closed/index.md +++ b/files/en-us/web/api/writablestreamdefaultwriter/closed/index.md @@ -14,9 +14,9 @@ browser-compat: api.WritableStreamDefaultWriter.closed {{SeeCompatTable}}{{APIRef("Streams")}} The **`closed`** read-only property of the -{{domxref("WritableStreamDefaultWriter")}} interface returns a promise that fulfills if -the stream becomes closed or the writer's lock is released, or rejects if the stream -errors. +{{domxref("WritableStreamDefaultWriter")}} interface returns a +{{jsxref("Promise")}} that fulfills if the stream becomes closed, or rejects if +the stream errors or the writer's lock is released. ## Syntax diff --git a/files/en-us/web/api/writablestreamdefaultwriter/index.md b/files/en-us/web/api/writablestreamdefaultwriter/index.md index 43c2c462a11cbbc..d7641f2534c3d3f 100644 --- a/files/en-us/web/api/writablestreamdefaultwriter/index.md +++ b/files/en-us/web/api/writablestreamdefaultwriter/index.md @@ -23,7 +23,7 @@ The **`WritableStreamDefaultWriter`** interface of the [Streams API](/en-US/docs ## Properties - {{domxref("WritableStreamDefaultWriter.closed")}}{{readonlyinline}} - - : Allows you to write code that responds to an end to the streaming process. Returns a promise that fulfills if the stream becomes closed or the writer's lock is released, or rejects if the stream errors. + - : Allows you to write code that responds to an end to the streaming process. Returns a promise that fulfills if the stream becomes closed, or rejects if the stream errors or the writer's lock is released. - {{domxref("WritableStreamDefaultWriter.desiredSize")}}{{readonlyinline}} - : Returns the desired size required to fill the stream's internal queue. - {{domxref("WritableStreamDefaultWriter.ready")}}{{readonlyinline}}