| commit | 2e614613995ca5ee374d01573cf107c9563b90ba | [log] [tgz] |
|---|---|---|
| author | Filip Hracek <[email protected]> | Fri Mar 24 17:19:10 2017 |
| committer | GitHub <[email protected]> | Fri Mar 24 17:19:10 2017 |
| tree | f92f07a84565a28cbb9276010b4563780e4e29d6 | |
| parent | 8aa5360335341ab5342b28672f42c3273758510c [diff] |
Update README with link
Use Dart 1.9+ for native support for async/await/sync/async/yield.**
A prototype (and in progress) implementation of async/await in Dart, via CPS translation.
This transformer is useful for trying async/await with dart2js. The Dart VM natively supports async and await. If you are writing Dart code that runs only in the VM, you do not need this transformer.
Add this to your pubspec.yaml file:
dependencies:
async_await:
git: https://github.com/dart-lang/async_await.git
transformers:
- async_await
Import dart:async in your Dart file:
import 'dart:async';
See also the open issues.