| OLD | NEW |
| 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 part of "async.dart"; | 5 part of dart.async; |
| 6 | 6 |
| 7 // ------------------------------------------------------------------- | 7 // ------------------------------------------------------------------- |
| 8 // Core Stream types | 8 // Core Stream types |
| 9 // ------------------------------------------------------------------- | 9 // ------------------------------------------------------------------- |
| 10 | 10 |
| 11 typedef void _TimerCallback(); | 11 typedef void _TimerCallback(); |
| 12 | 12 |
| 13 /** | 13 /** |
| 14 * A source of asynchronous data events. | 14 * A source of asynchronous data events. |
| 15 * | 15 * |
| (...skipping 1999 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2015 } | 2015 } |
| 2016 | 2016 |
| 2017 void addError(error, [StackTrace stackTrace]) { | 2017 void addError(error, [StackTrace stackTrace]) { |
| 2018 _sink.addError(error, stackTrace); | 2018 _sink.addError(error, stackTrace); |
| 2019 } | 2019 } |
| 2020 | 2020 |
| 2021 void close() { | 2021 void close() { |
| 2022 _sink.close(); | 2022 _sink.close(); |
| 2023 } | 2023 } |
| 2024 } | 2024 } |
| OLD | NEW |