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

Unified Diff: sdk/lib/io/io_sink.dart

Issue 1342293003: specify when a Future completes for IOSink's addStream (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 5 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/io/io_sink.dart
diff --git a/sdk/lib/io/io_sink.dart b/sdk/lib/io/io_sink.dart
index 89cd586cafbb14575bdc5b4a19f042526d2886ca..19899dfd4fced7cd8e2979bb67ac5e74582aa7d6 100644
--- a/sdk/lib/io/io_sink.dart
+++ b/sdk/lib/io/io_sink.dart
@@ -96,7 +96,8 @@ abstract class IOSink implements StreamSink<List<int>>, StringSink {
void addError(error, [StackTrace stackTrace]);
/**
- * Adds all elements of the given [stream] to `this`.
+ * Returns a [Future] that completes when
Lasse Reichstein Nielsen 2015/09/21 09:50:47 Retain the original first line, then add these two
sethladd 2015/09/21 09:56:21 Done.
+ * all elements of the given [stream] are added to `this`.
*/
Future addStream(Stream<List<int>> stream);
« 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