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

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: tweaks from review 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..2d6719d6a8f43140ee3e916fd1b5c583ea9874be 100644
--- a/sdk/lib/io/io_sink.dart
+++ b/sdk/lib/io/io_sink.dart
@@ -97,6 +97,9 @@ abstract class IOSink implements StreamSink<List<int>>, StringSink {
/**
* Adds all elements of the given [stream] to `this`.
+ *
+ * Returns a [Future] that completes when
+ * 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