[whatwg/fetch] Editorial: Reword how-to section to explain how to use callbacks & controller (PR #1614)

Instead of describing the callbacks one by one, putting emphasis on how/when the caller expects responses (upon completion, chunk-by-chunk, fire-and-forget).

This (hopefully) gives other specs who need to call into Fetch a quick reference between what they're trying to do and the API.

<!--
Thank you for contributing to the Fetch Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
-->

- [ ] At least two implementers are interested (and none opposed):
   * N/A
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
   * N/A
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
   * N/A
- [ ] [MDN issue](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) is filed: …
   * N/A

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)

You can view, comment on, or merge this pull request online at:

  https://github.com/whatwg/fetch/pull/1614


-- Commit Summary --

  * Reword how-to section to explain how to use callbacks & controller

-- File Changes --

    M fetch.bs (181)

-- Patch Links --

https://github.com/whatwg/fetch/pull/1614.patch

https://github.com/whatwg/fetch/pull/1614.diff


-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1614

You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1614@github.com>

Received on Sunday, 5 March 2023 09:07:46 UTC