Async/Await feature in Dart 1.8
Is it in the 1.8 release as an experimental feature like enum or is it not? And how can I use it in the Dart Editor? Is there a nice article or example app that can get me started with this? When it is still an experimental feature what is recommended for pub packages? Is it fine to use that feature in pub packages or not? Update 2 The most recent nightly build also supports async* void main() { generate().listen((i) => print(i)); } Stream<int> generate () async* { int i = 0; for(int i = 0; i < 100; i++) { yield ++i; } } Update yield and yield* in a method marked sync* (returning an Iterable)