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 * For an introduction to asynchronous programming in Dart, see the | 9 * For an introduction to asynchronous programming in Dart, see the |
10 * [dart:async section of the language tour] | 10 * [dart:async section of the language tour] |
(...skipping 14 matching lines...) Expand all Loading... |
25 * Learn how Dart handles the event queue and microtask queue, so you can write | 25 * Learn how Dart handles the event queue and microtask queue, so you can write |
26 * better asynchronous code with fewer surprises. | 26 * better asynchronous code with fewer surprises. |
27 * | 27 * |
28 * * [Asynchronous Unit Testing with Dart] | 28 * * [Asynchronous Unit Testing with Dart] |
29 * (https://www.dartlang.org/articles/dart-unit-tests/#asynchronous-tests): How | 29 * (https://www.dartlang.org/articles/dart-unit-tests/#asynchronous-tests): How |
30 * to test asynchronous code. | 30 * to test asynchronous code. |
31 */ | 31 */ |
32 library dart.async; | 32 library dart.async; |
33 | 33 |
34 import "dart:collection"; | 34 import "dart:collection"; |
35 import "dart:_collection-dev" show deprecated, printToZone, printToConsole; | 35 import "dart:_collection-dev" show deprecated, |
| 36 printToZone, printToConsole, |
| 37 scheduleImmediate; |
36 | 38 |
37 part 'async_error.dart'; | 39 part 'async_error.dart'; |
38 part 'broadcast_stream_controller.dart'; | 40 part 'broadcast_stream_controller.dart'; |
39 part 'deferred_load.dart'; | 41 part 'deferred_load.dart'; |
40 part 'future.dart'; | 42 part 'future.dart'; |
41 part 'future_impl.dart'; | 43 part 'future_impl.dart'; |
42 part 'schedule_microtask.dart'; | 44 part 'schedule_microtask.dart'; |
43 part 'stream.dart'; | 45 part 'stream.dart'; |
44 part 'stream_controller.dart'; | 46 part 'stream_controller.dart'; |
45 part 'stream_impl.dart'; | 47 part 'stream_impl.dart'; |
46 part 'stream_pipe.dart'; | 48 part 'stream_pipe.dart'; |
47 part 'stream_transformers.dart'; | 49 part 'stream_transformers.dart'; |
48 part 'timer.dart'; | 50 part 'timer.dart'; |
49 part 'zone.dart'; | 51 part 'zone.dart'; |
OLD | NEW |