commit | 1477d6cd2611c2ea6838660c6c0ed9ff92a9cf66 | [log] [tgz] |
---|---|---|
author | Lasse Reichstein Holst Nielsen <lrn@google.com> | Wed Jun 16 10:28:44 2021 +0200 |
committer | Lasse Reichstein Holst Nielsen <lrn@google.com> | Wed Jun 16 10:28:44 2021 +0200 |
tree | 6d8fbd849e336de3a2d0298c18f1f4c91729facd | |
parent | 2b3d24ad941b900c76e09c50f768d2b2d93e341c [diff] | |
parent | 5d340acf45208bf6bdad32c6fe0984518cbb9de4 [diff] |
Remove unnnecessary `show Future` from `dart:async` imports. Based on https://github.com/dart-lang/isolate/pull/41
This package has been discontinued, and will no longer be maintained.
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.