Skip to content

Cancellable requests #204

@sir-boformer

Description

@sir-boformer

I'm using Dart Http in a Flutter app to download large files from a server.

Sometimes the user may want to cancel the request (so that the download is stopped)

The problem is that there is no way to cancel a Future in dart. Even when converted to a Stream which can be cancelled, the download will still continue running in the background.

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