mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 20:11:19 +00:00
caf208a543
The current implementation of StreamIterator has a one-element buffer which allows it listen for the next even eagerly, and only pause if consumption doesn't keep up with production. However, StreamIterator is also used by both VM and dart2js implementations of "await for", and according to the specification, the iterated stream must be paused between loop iterations. The CL removes the one-element buffer and forces a pause after each event. R=floitsch@google.com Review URL: https://codereview.chromium.org/2149893002 . |
||
---|---|---|
.. | ||
async.dart | ||
async_error.dart | ||
async_sources.gypi | ||
broadcast_stream_controller.dart | ||
deferred_load.dart | ||
future.dart | ||
future_impl.dart | ||
schedule_microtask.dart | ||
stream.dart | ||
stream_controller.dart | ||
stream_impl.dart | ||
stream_pipe.dart | ||
stream_transformers.dart | ||
timer.dart | ||
zone.dart |