Skip to content

Designing download progress in a fetch-compatible way #61

@jakearchibald

Description

@jakearchibald

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions