commit | 856f9737fdc9e03f4ee08b6882ac1fcdd3ca7216 | [log] [tgz] |
---|---|---|
author | Brian Wilkerson <brianwilkerson@google.com> | Mon Sep 18 07:44:15 2017 -0700 |
committer | GitHub <noreply@github.com> | Mon Sep 18 07:44:15 2017 -0700 |
tree | be293263d7cc056a705770fe1a4ca78d96cb075d | |
parent | c036edd40a798888f37179416e5cf2ac3b991d7c [diff] | |
parent | c0f800c5f46d215746db52d872698e08d693dfc3 [diff] |
Merge pull request #15 from dart-lang/make-run-generic Make the run method generic
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.