commit | 373a11c63754bfdb9e2e5ed27087b6adc783eb6b | [log] [tgz] |
---|---|---|
author | Lasse R.H. Nielsen <lrn@google.com> | Mon Jan 23 14:35:56 2017 +0100 |
committer | Lasse R.H. Nielsen <lrn@google.com> | Mon Jan 23 14:35:56 2017 +0100 |
tree | 9b521c569df62986d2129f4c5b45ff6d56354f14 | |
parent | b0f4bb103037ba499156561704ff5fdb8403dda5 [diff] |
Update to version 1.0.0 R=floitsch@google.com Review-Url: https://codereview.chromium.org//1654813002 .
Helps with isolates and isolate communication in Dart.
The package contains individual libraries with different purposes.
The “ports.dart” sub-library contains functionality for creating SendPort
s and reacting to values sent to those ports.
The “isolate_runner.dart” sub-library introduces an IsolateRunner
class that gives easy access to the Isolate
functionality, and also gives a way to run new functions in the isolate repeatedly, instead of just on the initial spawn
call.
The “registry.dart” sub-library provides a way to create an object registry, and give access to it across different isolates.
The “load_balancer.dart” sub-library can manage multiple Runner
objects, including IsolateRunner
, and run functions on the currently least loaded runner.
Please file feature requests and bugs at the issue tracker.