commit | 95cb8f1ab692d7b2570ff5a7c4ca027931c69568 | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Thu Sep 07 23:43:51 2017 -0700 |
committer | Lasse R.H. Nielsen <lrn@google.com> | Fri Sep 08 08:43:51 2017 +0200 |
tree | b62cadfda6fb99df54edba3036ac04002f3819e5 | |
parent | 373a11c63754bfdb9e2e5ed27087b6adc783eb6b [diff] |
strong mode fixes (#11) * strong mode fixes * switch to Dart tasks on Travis * Add analysis options * make variables final that can be * Fix some type issues
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.