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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 * Learn how Dart handles the event queue and microtask queue, so you can write | 82 * Learn how Dart handles the event queue and microtask queue, so you can write |
83 * better asynchronous code with fewer surprises. | 83 * better asynchronous code with fewer surprises. |
84 * | 84 * |
85 * * [Asynchronous Unit Testing with Dart] | 85 * * [Asynchronous Unit Testing with Dart] |
86 * (https://www.dartlang.org/articles/dart-unit-tests/#asynchronous-tests): How | 86 * (https://www.dartlang.org/articles/dart-unit-tests/#asynchronous-tests): How |
87 * to test asynchronous code. | 87 * to test asynchronous code. |
88 */ | 88 */ |
89 library dart.async; | 89 library dart.async; |
90 | 90 |
91 import "dart:collection"; | 91 import "dart:collection"; |
92 import "dart:_collection-dev" show deprecated, printToZone, printToConsole; | 92 import "dart:_internal" show deprecated, printToZone, printToConsole; |
93 | 93 |
94 part 'async_error.dart'; | 94 part 'async_error.dart'; |
95 part 'broadcast_stream_controller.dart'; | 95 part 'broadcast_stream_controller.dart'; |
96 part 'deferred_load.dart'; | 96 part 'deferred_load.dart'; |
97 part 'future.dart'; | 97 part 'future.dart'; |
98 part 'future_impl.dart'; | 98 part 'future_impl.dart'; |
99 part 'schedule_microtask.dart'; | 99 part 'schedule_microtask.dart'; |
100 part 'stream.dart'; | 100 part 'stream.dart'; |
101 part 'stream_controller.dart'; | 101 part 'stream_controller.dart'; |
102 part 'stream_impl.dart'; | 102 part 'stream_impl.dart'; |
103 part 'stream_pipe.dart'; | 103 part 'stream_pipe.dart'; |
104 part 'stream_transformers.dart'; | 104 part 'stream_transformers.dart'; |
105 part 'timer.dart'; | 105 part 'timer.dart'; |
106 part 'zone.dart'; | 106 part 'zone.dart'; |
OLD | NEW |