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

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

Issue 2149893002: Make StreamIterator not delay pausing between requests. (Closed) Base URL: https://github.com/dart-lang/sdk.git@master
Patch Set: Address comment. Created 4 years, 3 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 | sdk/lib/async/stream_impl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/async/stream.dart
diff --git a/sdk/lib/async/stream.dart b/sdk/lib/async/stream.dart
index f4abf9aac9c2cda45b9b6da83c06c4f434724620..9a9487afdeff05f242390bdc65c1c708f0f67f3e 100644
--- a/sdk/lib/async/stream.dart
+++ b/sdk/lib/async/stream.dart
@@ -1767,7 +1767,7 @@ abstract class StreamIterator<T> {
factory StreamIterator(Stream<T> stream)
// TODO(lrn): use redirecting factory constructor when type
// arguments are supported.
- => new _StreamIteratorImpl<T>(stream);
+ => new _StreamIterator<T>(stream);
/**
* Wait for the next stream value to be available.
@@ -1809,7 +1809,7 @@ abstract class StreamIterator<T> {
* automatically closed, you must call [cancel] to ensure that the stream
* is properly closed.
*
- * If [moveNext] has been called when the iterator is cancelled,
+ * If [moveNext] has been called when the iterator is canceled,
* its returned future will complete with `false` as value,
* as will all further calls to [moveNext].
*
« no previous file with comments | « no previous file | sdk/lib/async/stream_impl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698