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

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

Issue 12033019: Make StreamController take on{Pause,Subscription]StateChange as arguments. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
« no previous file with comments | « sdk/lib/async/stream_controller.dart ('k') | tests/lib/async/slow_consumer2_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/stream_impl.dart
diff --git a/sdk/lib/async/stream_impl.dart b/sdk/lib/async/stream_impl.dart
index 0ca98e1863f1d133963e2ab2b2feee09517b4dd4..fb94f208090452aee7496f2cd71c8598f4852603 100644
--- a/sdk/lib/async/stream_impl.dart
+++ b/sdk/lib/async/stream_impl.dart
@@ -721,17 +721,17 @@ class _IterablePendingEvents<T> extends _PendingEvents {
/**
* The subscription class that the [StreamController] uses.
*
- * The [StreamController.createSubscription] method should
+ * The [_StreamImpl.createSubscription] method should
* create an object of this type, or another subclass of [_StreamListener].
- * A subclass of [StreamController] can specify which subclass
+ * A subclass of [_StreamImpl] can specify which subclass
* of [_StreamSubscriptionImpl] it uses by overriding
- * [StreamController.createSubscription].
+ * [_StreamImpl.createSubscription].
*
* The subscription is in one of three states:
* * Subscribed.
* * Paused-and-subscribed.
* * Unsubscribed.
- * Unsubscribing also unpauses.
+ * Unsubscribing also resumes any pauses started by the subscription.
*/
class _StreamSubscriptionImpl<T> extends _StreamListener<T>
implements StreamSubscription<T> {
« no previous file with comments | « sdk/lib/async/stream_controller.dart ('k') | tests/lib/async/slow_consumer2_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698