Skip to content
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

Implement dart Futures as interceptors on top of JS Promises #24679

Open
jacob314 opened this issue Oct 21, 2015 · 3 comments
Open

Implement dart Futures as interceptors on top of JS Promises #24679

jacob314 opened this issue Oct 21, 2015 · 3 comments
Assignees
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. web-dart2js

Comments

@jacob314
Copy link
Member

Promises are available on almost all the browsers Dart supports so it is time to start looking at making all dart Futures implement the JS promises API and making all JS Promises show up as Dart Futures.
Otherwise Dart users will need to wrap and unwrap Dart futures and JS promises

http://caniuse.com/#feat=promises

There is a dev_compiler tracking this issue as well.
dart-archive/dev_compiler#245

@danschultz
Copy link

👍

@rayk
Copy link

rayk commented Jan 3, 2016

https://groups.google.com/a/dartlang.org/forum/#!topic/web/_DCR6vMBm7Y
Any thoughts on a solid work around until this is done?.

@bergwerf
Copy link

Yes please!

@vsmenon vsmenon added the area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. label Jul 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. web-dart2js
Projects
None yet
Development

No branches or pull requests

6 participants