Chromium Code Reviews| Index: runtime/bin/output_stream.dart |
| diff --git a/runtime/bin/output_stream.dart b/runtime/bin/output_stream.dart |
| index 6583599a7c295b1f7fc53affa7901d3dbcc62517..7e8a13c9b8aec18b3b1e926de1be2992145ba55c 100644 |
| --- a/runtime/bin/output_stream.dart |
| +++ b/runtime/bin/output_stream.dart |
| @@ -51,6 +51,13 @@ interface OutputStream { |
| bool writeString(String string, [Encoding encoding]); |
| /** |
| + * Flushes data from any internal buffers as soon as possible. Note |
| + * that the actual meaning of calling [flush] will depend on the |
| + * actual type of the underlying communication channel. |
| + */ |
| + void flush(); |
|
Mads Ager (google)
2012/04/17 11:56:44
Shouldn't there be some sort of notification that
Søren Gjesse
2012/04/17 13:14:19
The only reason for having flush is that even when
|
| + |
| + /** |
| * Indicate that all data has been written to the output |
| * stream. When all data has been written to the communication |
| * channel it will be closed. |