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

Unified Diff: sdk/lib/async/stream_impl.dart

Issue 12049013: Change singleSubscription/multiSubscription to normal/broadcast. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Addressed comments, renamed .multiSubscription to .broadcast. 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/async/stream_impl.dart
diff --git a/sdk/lib/async/stream_impl.dart b/sdk/lib/async/stream_impl.dart
index fb94f208090452aee7496f2cd71c8598f4852603..28c41b09804e7a687f9499462aff565652e2a6a2 100644
--- a/sdk/lib/async/stream_impl.dart
+++ b/sdk/lib/async/stream_impl.dart
@@ -544,9 +544,9 @@ class _MultiStreamImpl<T> extends _StreamImpl<T>
_nextLink = _previousLink = this;
}
- bool get isSingleSubscription => false;
+ bool get isBroadcast => true;
- Stream<T> asMultiSubscriberStream() => this;
+ Stream<T> asBroadcastStream() => this;
// ------------------------------------------------------------------
// Helper functions that can be overridden in subclasses.

Powered by Google App Engine
This is Rietveld 408576698