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

Unified Diff: sdk/lib/async/stream_pipe.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_pipe.dart
diff --git a/sdk/lib/async/stream_pipe.dart b/sdk/lib/async/stream_pipe.dart
index 34609924561d0f159ffc7c3595d4616dca61882c..1945bb263feb147028ac16725321baa858e494ef 100644
--- a/sdk/lib/async/stream_pipe.dart
+++ b/sdk/lib/async/stream_pipe.dart
@@ -51,7 +51,9 @@ abstract class _ForwardingStream<S, T> extends Stream<T> {
_ForwardingStream(this._source);
- bool get isSingleSubscription => _source.isSingleSubscription;
+ bool get isBroadcast => _source.isBroadcast;
+
+ bool asBroadcastStream() => _source.asBroadcastStream;
StreamSubscription listen(void onData(T value),
{ void onError(AsyncError error),

Powered by Google App Engine
This is Rietveld 408576698