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

lukewarlow left a comment (whatwg/fetch#1843)

If we do split them I guess for FetchMonitor we can either: 1) split the FetchMonitor into FetchRequestMonitor and FetchResponseMonitor keeping the property names as is; or 2) keep a single FetchMonitor but just change the properties and events to be generic like 'progress' .total .loaded.

I definitely prefer option 2 between 2 and 3. My only reservation is if there's "monitoring" of fetch that isn't specifically about the request and response cycle.

I think the split design still works for [100 response handling](https://github.com/whatwg/fetch/issues/1913) in future (@annevk let me know if that's wrong).

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

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

Received on Thursday, 26 November 2026 10:41:40 UTC