- From: Luke Warlow <notifications@github.com>
- Date: Sat, 28 Nov 2026 07:34:08 -0800
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Saturday, 28 November 2026 15:34:12 UTC
@lukewarlow commented on this pull request.
> +
+ <ol>
+ <li><p>Let <var>monitorCallback</var> be <var>init</var>["{{FetchInit/responseMonitor}}"].
+
+ <li><p>Set <var>responseMonitor</var> to the result of <a for=FetchMonitor>creating</a> a
+ {{FetchMonitor}} given <var>relevantRealm</var>.
+
+ <li><p>Let <var>args</var> be « <var>responseMonitor</var> ».
+
+ <li><p>[=invoke|Invoke=] <var>monitorCallback</var> with <var>args</var>
+ and <code>"rethrow"</code>. If this throws an exception, <a for=/>reject</a> <var>p</var> with it
+ and return <var>p</var>.
+ </ol>
+
+ <li>
+ <p>Let <var>rejectMonitors</var>, given <var>error</var>, be these steps:
We probably need to find a way to call this when the response body errors partway through, currently in that scenario the finished promises never settle.
--
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1843#pullrequestreview-6098745609
You are receiving this because you are subscribed to this thread.
Message ID: <whatwg/fetch/pull/1843/review/6098745609@github.com>
Received on Saturday, 28 November 2026 15:34:12 UTC