Re: [whatwg/fetch] Overhaul how standards integrate with fetch (#1165)

@annevk commented on this pull request.



> + <dt><dfn for="fetch params">process request body</dfn> (default null)
+ <dt><dfn for="fetch params">process request end-of-body</dfn> (default null)
+ <dt><dfn for="fetch params">process response</dfn> (default null)
+ <dt><dfn for="fetch params">process response end-of-body</dfn> (default null)
+ <dd>Null or an algorithm.
+
+ <dt><dfn for="fetch params">global</dfn> (default null)
+ <dd>Null or a <a for=/>global object</a>.
+
+ <dt><dfn for="fetch params">algorithm queue</dfn> (default null)
+ <dd>Null or a <a for=/>parallel queue</a>.
+</dl>
+
+<p>To <dfn>queue a fetch task</dfn>, given an algorithm <var>algorithm</var>, null or a
+<a for=/>global object</a> <var>global</var>, and null or a <a for=/>parallel queue</a>
+<var>parallelQueue</var>, run these steps:

It could work now, but naming it seems awkward and I'm not sure yet what else we might want to use the struct for.

-- 
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/pull/1165#discussion_r574302735

Received on Thursday, 11 February 2021 07:56:48 UTC