OLD | NEW |
1 # isolate | 1 # isolate |
2 | 2 |
3 The `isolate` package helps with isolates and isolate communication. | 3 The `isolate` package helps with isolates and isolate communication. |
4 | 4 |
5 The package contains individual libraries with different purposes. | 5 The package contains individual libraries with different purposes. |
6 | 6 |
7 ### Creating send ports and responding to messages. | 7 ### Creating send ports and responding to messages. |
8 | 8 |
9 The "ports.dart" sub-library contains functionality | 9 The "ports.dart" sub-library contains functionality |
10 for creating `SendPort`s and reacting to values sent to those ports. | 10 for creating `SendPort`s and reacting to values sent to those ports. |
11 | 11 |
12 ### Working with isolates and running functions in other isolates. | 12 ### Working with isolates and running functions in other isolates. |
13 | 13 |
14 The "isolate_runner.dart" sub-library introduces an `IsolateRunner` class | 14 The "isolate_runner.dart" sub-library introduces an `IsolateRunner` class |
15 that gives easy access to the `Isolate` functionality, and also | 15 that gives easy access to the `Isolate` functionality, and also |
16 gives a way to run new functions in the isolate repeatedly, instead of | 16 gives a way to run new functions in the isolate repeatedly, instead of |
17 just on the initial `spawn` call. | 17 just on the initial `spawn` call. |
18 | 18 |
19 ### A central registry for values that can be used accross isolates. | 19 ### A central registry for values that can be used across isolates. |
20 | 20 |
21 The "registry.dart" sub-library provides a way to create an | 21 The "registry.dart" sub-library provides a way to create an |
22 object registry, and give access to it accross different isolates. | 22 object registry, and give access to it across different isolates. |
23 | 23 |
24 ### Balancing load accross several isolates. | 24 ### Balancing load across several isolates. |
25 | 25 |
26 The "load_balancer.dart" sub-library can manage multiple `Runner` objects, | 26 The "load_balancer.dart" sub-library can manage multiple `Runner` objects, |
27 including `IsolateRunner`, and run functions on the currently least loaded | 27 including `IsolateRunner`, and run functions on the currently least loaded |
28 runner. | 28 runner. |
29 | 29 |
30 ## Features and bugs | 30 ## Features and bugs |
31 | 31 |
32 Please file feature requests and bugs at the [issue tracker][tracker]. | 32 Please file feature requests and bugs at the [issue tracker][tracker]. |
33 | 33 |
34 [tracker]: https://github.com/dart-lang/isolate/issues | 34 [tracker]: https://github.com/dart-lang/isolate/issues |
OLD | NEW |