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

Closes #1084 by encouraging use of "set up" instead. Also partially addresses #1074 by softening the language about subclassing vs. mixins.

I am willing to send PRs to fix specs that use "create". The ones I am aware of are:

- Fetch (/cc @annevk), which sidesteps the problem discussed in #1084 by having parts of the fetch algorithm, separate from the pullAlgorithm, enqueue into the stream.
- Compression streams, which suffer from the problem in #1084: they reference an undeclared variable _ds_.

https://w3c.github.io/webtransport/ also uses "create" but the spec text there is full of TODOs and doesn't seem to create in a well-defined way, so I'm not sure what to do there. /cc @yutakahirano.
You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/streams/pull/1110

-- Commit Summary --

  * Remove "create" algorithms for other specifications

-- File Changes --

    M index.bs (147)

-- Patch Links --

https://github.com/whatwg/streams/pull/1110.patch
https://github.com/whatwg/streams/pull/1110.diff

-- 
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

Received on Wednesday, 10 March 2021 20:58:26 UTC