Skip to content

Commit 3d63a7b

Browse files
authored
Editorial: reference constructor steps instead of constructor operation
Also make the fetch() reference more precise.
1 parent f894acd commit 3d63a7b

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

index.bs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5339,9 +5339,9 @@ The following abstract operations support the implementation of the
53395339

53405340
<div class="example" id="example-transform-identity">
53415341
One use of [=identity transform streams=] is to easily convert between readable and writable
5342-
streams. For example, the {{fetch()}} API accepts a readable stream [=request/body|request body=],
5343-
but it can be more convenient to write data for uploading via a writable stream interface. Using
5344-
an identity transform stream addresses this:
5342+
streams. For example, the {{fetch(input)|fetch()}} API accepts a readable stream
5343+
[=request/body|request body=], but it can be more convenient to write data for uploading via a
5344+
writable stream interface. Using an identity transform stream addresses this:
53455345

53465346
<xmp highlight="js">
53475347
const { writable, readable } = new TransformStream();
@@ -7127,9 +7127,9 @@ Note: Existing examples of this pattern on the web platform include {{Compressio
71277127
{{TextDecoderStream}}. [[COMPRESSION]] [[ENCODING]]
71287128

71297129
<p class="note">There's no need to create a wrapper class if you don't need any API beyond what the
7130-
base {{TransformStream}} class provides. The most common driver for such a wrapper is needing a
7131-
custom [=constructor operation=], but if your conceptual transform stream isn't meant to be
7132-
constructed, then using {{TransformStream}} directly is fine.
7130+
base {{TransformStream}} class provides. The most common driver for such a wrapper is needing custom
7131+
[=constructor steps=], but if your conceptual transform stream isn't meant to be constructed, then
7132+
using {{TransformStream}} directly is fine.
71337133

71347134
<h3 id="other-specs-pairs">Other stream pairs</h3>
71357135

0 commit comments

Comments
 (0)