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

Unified Diff: sdk/lib/isolate/isolate_stream.dart

Issue 11794044: Add Stream.fromIterable (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Address comments. Fix bug hit by new test. Created 7 years, 11 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: sdk/lib/isolate/isolate_stream.dart
diff --git a/sdk/lib/isolate/isolate_stream.dart b/sdk/lib/isolate/isolate_stream.dart
index 63c270ea6c26ad9c2ed67e1f7c851a5cce33db85..092db3560f61f7cb889a4261b13b7aa7907a0441 100644
--- a/sdk/lib/isolate/isolate_stream.dart
+++ b/sdk/lib/isolate/isolate_stream.dart
@@ -92,9 +92,9 @@ class IsolateStream extends Stream<dynamic> {
}
StreamSubscription listen(void onData(event),
- { void onError(AsyncError error),
- void onDone(),
- bool unsubscribeOnError}) {
+ { void onError(AsyncError error),
+ void onDone(),
+ bool unsubscribeOnError}) {
return _controller.listen(onData,
onError: onError,
onDone: onDone,

Powered by Google App Engine
This is Rietveld 408576698