Skip to content

HttpRequest.request doesn't give access to the HttpRequest until it completes, making it difficult to cancel #23935

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alan-knight opened this issue Jul 31, 2015 · 0 comments
Labels
area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop. library-html web-libraries Issues impacting dart:html, etc., libraries

Comments

@alan-knight
Copy link
Contributor

Related to #22265 but doesn't need such a general solution as canceling the futures. It would be better if the method would just return the HttpRequest or the future would complete immediately and then have a Future that you could wait on for the response.

@alan-knight alan-knight added area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. Accepted library-html labels Jul 31, 2015
@kevmoo kevmoo removed the accepted label Feb 29, 2016
@vsmenon vsmenon added the area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop. label Jul 20, 2019
@sigmundch sigmundch added the web-libraries Issues impacting dart:html, etc., libraries label Oct 25, 2021
@lrhn lrhn removed the area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. label Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web-js Issues related to JavaScript support for Dart Web, including DDC, dart2js, and JS interop. library-html web-libraries Issues impacting dart:html, etc., libraries
Projects
None yet
Development

No branches or pull requests

5 participants