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

Unified Diff: lib/src/stream_queue.dart

Issue 1243783003: Reword the documentation for StreamQueue.cancel. (Closed) Base URL: git@github.com:dart-lang/async.git@master
Patch Set: Created 5 years, 5 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/src/stream_queue.dart
diff --git a/lib/src/stream_queue.dart b/lib/src/stream_queue.dart
index e4b3b640cd8dd14b7ef5e9d72353275dfada3f4a..36d03ef13a88d97f07952f6d061dba09017a2e69 100644
--- a/lib/src/stream_queue.dart
+++ b/lib/src/stream_queue.dart
@@ -223,8 +223,8 @@ class StreamQueue<T> {
/// subscription providing the events.
///
/// If [immediate] is `true`, the subscription is instead canceled
- /// immediately. Any pending events are completed as though the underlying
- /// stream had closed.
+ /// immediately. Any pending events complete with a 'closed'-event, as though
+ /// the stream had closed by itself.
///
/// The returned future completes with the result of calling
/// `cancel`.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698