Skip to content

Allow cancellation during file download with AbortController #1751

@muuvmuuv

Description

@muuvmuuv

Feature Request

Plugin

  • Filesystem

Description

I would like our users to allow cancelling file downloads. We download a lot of files in batches in a queue and currently the UX is not very good because the running batches of files in background block the WebView rendering in Android. The user must wait for all files in the batch to be download.

Platform(s)

  • iOS
  • Android
  • Web

Preferred Solution

Use AbortController to allow cancellation per Spec.

Compatibility seems to be in your range: https://developer.mozilla.org/en-US/docs/Web/API/AbortController#browser_compatibility

Alternatives

Callback or something.

Additional Context

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions