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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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"; |
95 import "dart:_internal" show printToZone, printToConsole, | 95 import "dart:_internal" show printToZone, printToConsole, IterableElementError; |
96 IterableElementError; | |
97 | 96 |
98 part 'async_error.dart'; | 97 part 'async_error.dart'; |
99 part 'broadcast_stream_controller.dart'; | 98 part 'broadcast_stream_controller.dart'; |
100 part 'deferred_load.dart'; | 99 part 'deferred_load.dart'; |
101 part 'future.dart'; | 100 part 'future.dart'; |
102 part 'future_impl.dart'; | 101 part 'future_impl.dart'; |
103 part 'schedule_microtask.dart'; | 102 part 'schedule_microtask.dart'; |
104 part 'stream.dart'; | 103 part 'stream.dart'; |
105 part 'stream_controller.dart'; | 104 part 'stream_controller.dart'; |
106 part 'stream_impl.dart'; | 105 part 'stream_impl.dart'; |
107 part 'stream_pipe.dart'; | 106 part 'stream_pipe.dart'; |
108 part 'stream_transformers.dart'; | 107 part 'stream_transformers.dart'; |
109 part 'timer.dart'; | 108 part 'timer.dart'; |
110 part 'zone.dart'; | 109 part 'zone.dart'; |
OLD | NEW |