commit | 3c80f8bb1fc09db561eecf1621c5639d8b7b16cc | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@google.com> | Mon Jul 09 08:38:07 2018 -0700 |
committer | Kevin Moore <kevmoo@google.com> | Mon Jul 09 08:38:07 2018 -0700 |
tree | 351ae61a670ad54fd2af04a589c3ae28769d1d4d | |
parent | d78679d9aee29940ea3f87bd5e7d4569e251cbdd [diff] |
dartfmt
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.