commit | 9051ad9a3668430a56a60fe8ab1c13f91da1b979 | [log] [tgz] |
---|---|---|
author | Leaf Petersen <leafpetersen@users.noreply.github.com> | Tue Oct 17 00:30:28 2017 -0700 |
committer | Lasse R.H. Nielsen <lrn@google.com> | Tue Oct 17 09:30:28 2017 +0200 |
tree | 3ead5977d71efbbc18b0ee65eb8d3ebfbb58361c | |
parent | 6d3656f0f0b0a67a31fcf1ada7744df0f1d5d87c [diff] |
Fix type on _create to match use at call site (#20)
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.