Hey folks! We're looking at adding progress monitoring to fetch over in whatwg/fetch#1843. Let's figure out a consistent model.
I like the name monitor used here.
I think we should move away from ProgressEvent, and leave them to rot in XHR land. Instead, we should use a plain Event type and move state to the target object.
In terms of naming, we were looking at request and response, but download and upload seems ok to me. I also support this being downloadprogress rather than just progress, although we may have a progress event for state changes that cover multiple phases.
Hey folks! We're looking at adding progress monitoring to fetch over in whatwg/fetch#1843. Let's figure out a consistent model.
I like the name
monitorused here.I think we should move away from
ProgressEvent, and leave them to rot in XHR land. Instead, we should use a plainEventtype and move state to the target object.In terms of naming, we were looking at
requestandresponse, butdownloadanduploadseems ok to me. I also support this beingdownloadprogressrather than justprogress, although we may have aprogressevent for state changes that cover multiple phases.