| 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 dart.async; | 5 part of "async.dart"; |
| 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 1974 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1990 } | 1990 } |
| 1991 | 1991 |
| 1992 void addError(error, [StackTrace stackTrace]) { | 1992 void addError(error, [StackTrace stackTrace]) { |
| 1993 _sink.addError(error, stackTrace); | 1993 _sink.addError(error, stackTrace); |
| 1994 } | 1994 } |
| 1995 | 1995 |
| 1996 void close() { | 1996 void close() { |
| 1997 _sink.close(); | 1997 _sink.close(); |
| 1998 } | 1998 } |
| 1999 } | 1999 } |
| OLD | NEW |