tag | ad3b7a628be7dbfd792b14f3106ec0579c4a480a | |
---|---|---|
tagger | Kevin Moore <kevmoo@google.com> | Wed Sep 20 12:36:14 2017 -0700 |
object | 6d3656f0f0b0a67a31fcf1ada7744df0f1d5d87c |
commit | 6d3656f0f0b0a67a31fcf1ada7744df0f1d5d87c | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@users.noreply.github.com> | Wed Sep 20 12:27:49 2017 -0700 |
committer | GitHub <noreply@github.com> | Wed Sep 20 12:27:49 2017 -0700 |
tree | 53d868ccddbc5823636440ad53ef67cf03744e9f | |
parent | 856f9737fdc9e03f4ee08b6882ac1fcdd3ca7216 [diff] |
Add generic arguments to `singleCallbackPort` and `singleCompletePort` (#16)
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.