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>

Yea, I thought to start with timing and then iterate on moving terminate to also use the controller.

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

Received on Wednesday, 13 October 2021 12:28:51 UTC