Re: [whatwg/fetch] Return a "controller" instance from fetch (#1329)

@noamr commented on this pull request.



> @@ -4164,24 +4169,28 @@ steps:
  with <var>fetchParams</var>'s <a for="fetch params">task destination</a>.
 </ol>
 
-<p>To <dfn export>finalize and report timing</dfn> given a <a for=/>response</a>
-<var>response</var>, a <a for=/>global object</a> <var>global</var>, and a <a for=/>string</a>
-<var>initiatorType</var> (default "<code>other</code>"), run these steps:
+<p>To <dfn export for="fetch controller">abort</dfn> <a for=/>fetch controller</a>
+<var>controller</var>, <a for=fetch>terminate</a> the ongoing fetch with the aborted flag set.</p>

I revamped this PR to start with only dealing with abort/terminate. I hope this goes in the right direction.

-- 
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/1329#discussion_r729035342

Received on Thursday, 14 October 2021 14:22:19 UTC