Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(410)

Unified Diff: tests/lib/async/slow_consumer_test.dart

Issue 16125005: Make new StreamController be async by default. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/lib/async/slow_consumer_test.dart
diff --git a/tests/lib/async/slow_consumer_test.dart b/tests/lib/async/slow_consumer_test.dart
index a20ad6dca026683ee81dc768831b4932e73d6da5..7d552b2bfa5d90f1e15bd1ccca19251d35e0002f 100644
--- a/tests/lib/async/slow_consumer_test.dart
+++ b/tests/lib/async/slow_consumer_test.dart
@@ -68,7 +68,7 @@ class DataProvider {
Timer pendingSend;
DataProvider(int this.bytesPerSecond, int this.targetCount, this.chunkSize) {
- controller = new StreamController(
+ controller = new StreamController(sync: true,
floitsch 2013/05/30 12:13:48 next line.
Lasse Reichstein Nielsen 2013/05/31 05:51:59 Done.
onPause: onPauseStateChange,
onResume: onPauseStateChange);
Timer.run(send);

Powered by Google App Engine
This is Rietveld 408576698