Re: [whatwg/fetch] WIP: Add a mechanism to fetch to track progress (PR #1843)

@lukewarlow commented on this pull request.



> @@ -7558,6 +7559,14 @@ dictionary RequestInit {
   RequestDuplex duplex;
   RequestPriority priority;
   any window; // can only be set to null
+  FetchObserverCallback observer;
+};
+
+callback FetchObserverCallback = undefined (FetchObserver requestObserver, FetchObserver responseObserver);
+
+[Exposed=(Window,Worker)]
+interface FetchObserver : EventTarget {

Observer probably isn't the best name here?

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/pull/1843#pullrequestreview-3055266290
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/fetch/pull/1843/review/3055266290@github.com>

Received on Friday, 25 July 2025 12:45:42 UTC