commit | ca133acb5af3a60a026fa2aab12b81e60048b3be | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@google.com> | Mon May 03 10:03:58 2021 -0700 |
committer | Kevin Moore <kevmoo@google.com> | Mon May 03 10:03:58 2021 -0700 |
tree | 5eb54c99ab68f36fa280d9abbe140c787ddb8326 | |
parent | acc2c4895a8371ffeda752bab2610df90f2145de [diff] |
fix directive sorting
Helps with isolates and isolate communication in Dart. Requires the dart:isolate
library being available. Isolates are not available for Dart on the web.
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.