Re: [whatwg/fetch] Odd format for fetch callbacks (#536)

I think the callbacks such as "process response" should be algorithmic callbacks, like we did with [signal abort](https://dom.spec.whatwg.org/#abortsignal-signal-abort).

1. Add the following process response steps to the ongoing fetch:
    1. Then specs could optionally…
    1. Queue a fetch task on *request* to run the following steps:
        1. …

The "ongoing fetch" part is a bit meh. This came up with aborting too. Ideally it should be easier to get a reference to the fetch record, and operations can be called against that.

-- 
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/fetch/issues/536#issuecomment-330471478

Received on Tuesday, 19 September 2017 08:44:03 UTC