Re: [whatwg/streams] Remove "create" algorithms for other specifications (#1110)

@ricea commented on this pull request.



> @@ -6152,14 +6132,21 @@ to grow organically as needed.
  1. Perform ! [$SetUpReadableStreamDefaultController$](|stream|, |controller|, |startAlgorithm|,
     |pullAlgorithmWrapper|, |cancelAlgorithmWrapper|, |highWaterMark|, |sizeAlgorithm|).
 
- <p class="note">This algorithm is mainly intended for use in the [=constructor operations=] of any
- {{ReadableStream}} subclasses.
+ <div class="example" id="example-set-up-rs">
+  Creating a {{ReadableStream}} from other specifications is thus a two-step process, like so:
+
+  1. Let |readableStream| be a [=new=] {{ReadableStream}}.
+  1. [=ReadableStream/Set up=] |readableStream| given….

This needs to say something about how to use _readableStream_ in the creation of the algorithms.

-- 
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/1110#pullrequestreview-617662088

Received on Monday, 22 March 2021 15:28:25 UTC