commit | c036edd40a798888f37179416e5cf2ac3b991d7c | [log] [tgz] |
---|---|---|
author | Kevin Moore <kevmoo@google.com> | Sun Sep 10 14:25:18 2017 -0700 |
committer | Kevin Moore <kevmoo@google.com> | Tue Sep 12 09:50:29 2017 -0700 |
tree | 29c38671c3f4ad2949a45a508746a2cdca4c0cce | |
parent | 49d6258ef4955e96eafacee2d474c60ac4fffbc9 [diff] |
http_server example: fix cleanup
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.