| OLD | NEW | 
|---|
| 1 // Copyright (c) 2012, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 /** | 5 /** | 
| 6  * Support for asynchronous programming, | 6  * Support for asynchronous programming, | 
| 7  * with classes such as Future and Stream. | 7  * with classes such as Future and Stream. | 
| 8  * | 8  * | 
| 9  * Understanding [Future]s and [Stream]s is a prerequisite for | 9  * Understanding [Future]s and [Stream]s is a prerequisite for | 
| 10  * writing just about any Dart program. | 10  * writing just about any Dart program. | 
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 84  * * [test package: Asynchronous Tests][test-readme]: How to test asynchronous | 84  * * [test package: Asynchronous Tests][test-readme]: How to test asynchronous | 
| 85  *   code. | 85  *   code. | 
| 86  * | 86  * | 
| 87  * [asynchronous-programming]: https://www.dartlang.org/docs/dart-up-and-running
     /ch03.html#dartasync---asynchronous-programming | 87  * [asynchronous-programming]: https://www.dartlang.org/docs/dart-up-and-running
     /ch03.html#dartasync---asynchronous-programming | 
| 88  * [futures-tutorial]: https://www.dartlang.org/docs/tutorials/futures/ | 88  * [futures-tutorial]: https://www.dartlang.org/docs/tutorials/futures/ | 
| 89  * [futures-error-handling]: https://www.dartlang.org/articles/futures-and-error
     -handling/ | 89  * [futures-error-handling]: https://www.dartlang.org/articles/futures-and-error
     -handling/ | 
| 90  * [test-readme]: https://pub.dartlang.org/packages/test | 90  * [test-readme]: https://pub.dartlang.org/packages/test | 
| 91  */ | 91  */ | 
| 92 library dart.async; | 92 library dart.async; | 
| 93 | 93 | 
| 94 import "dart:collection"; | 94 import "dart:collection" show HashMap, IterableBase; | 
| 95 import "dart:_internal" show printToZone, printToConsole, IterableElementError; | 95 import "dart:_internal" show printToZone, printToConsole, IterableElementError; | 
| 96 | 96 | 
| 97 part 'async_error.dart'; | 97 part 'async_error.dart'; | 
| 98 part 'broadcast_stream_controller.dart'; | 98 part 'broadcast_stream_controller.dart'; | 
| 99 part 'deferred_load.dart'; | 99 part 'deferred_load.dart'; | 
| 100 part 'future.dart'; | 100 part 'future.dart'; | 
| 101 part 'future_impl.dart'; | 101 part 'future_impl.dart'; | 
| 102 part 'schedule_microtask.dart'; | 102 part 'schedule_microtask.dart'; | 
| 103 part 'stream.dart'; | 103 part 'stream.dart'; | 
| 104 part 'stream_controller.dart'; | 104 part 'stream_controller.dart'; | 
| 105 part 'stream_impl.dart'; | 105 part 'stream_impl.dart'; | 
| 106 part 'stream_pipe.dart'; | 106 part 'stream_pipe.dart'; | 
| 107 part 'stream_transformers.dart'; | 107 part 'stream_transformers.dart'; | 
| 108 part 'timer.dart'; | 108 part 'timer.dart'; | 
| 109 part 'zone.dart'; | 109 part 'zone.dart'; | 
| OLD | NEW | 
|---|