mirror of
https://github.com/dart-lang/sdk
synced 2024-11-05 18:22:09 +00:00
d509ddb3fa
When the computation passed to Future.sync returns a Future of the correct type, then it's returned directly instead of wrapping it again. (Until strong mode, we have an extra case for when it returns a Future of an incorrect type, but that will eventually be removed). This should improve the performance of Future.sync a bit. Also adds missing Zone intercept for when the Future.sync computation throws. Updates documentation for Future.doWhile. Fixes #29202 BUG= http://dartbug.com/29202 R=floitsch@google.com Review-Url: https://codereview.chromium.org/2790663003 . |
||
---|---|---|
.. | ||
bin | ||
lib | ||
api_readme.md |