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

Unified Diff: pkg/scheduled_test/lib/src/utils.dart

Issue 12610006: Renamed StreamSink to EventSink. Renamed signalError to addError. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Changed inheritance back! Now create StreamSink instead of EventSink where we create them. Created 7 years, 9 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: pkg/scheduled_test/lib/src/utils.dart
diff --git a/pkg/scheduled_test/lib/src/utils.dart b/pkg/scheduled_test/lib/src/utils.dart
index b880a2d4832b0200279b5f0eace3c33585bdabfe..8b6780a2530bb6d6025a42ea7a3689c0b7fcce13 100644
--- a/pkg/scheduled_test/lib/src/utils.dart
+++ b/pkg/scheduled_test/lib/src/utils.dart
@@ -52,10 +52,10 @@ Stream futureStream(Future<Stream> future) {
future.then((stream) {
stream.listen(
controller.add,
- onError: (error) => controller.signalError(error),
+ onError: (error) => controller.addError(error),
onDone: controller.close);
}).catchError((e) {
- controller.signalError(e);
+ controller.addError(e);
controller.close();
});
return controller.stream;

Powered by Google App Engine
This is Rietveld 408576698