commit | af142ad5ad4ddbf77a58e8fda1ffe82303fbf591 | [log] [tgz] |
---|---|---|
author | Alexander Thomas <athom@google.com> | Mon Feb 01 17:51:28 2021 +0100 |
committer | GitHub <noreply@github.com> | Mon Feb 01 08:51:28 2021 -0800 |
tree | ddd7decdd6018db0640aef267cfe0f8c2b9027d1 | |
parent | c9fa32626020fd3696ce37a1bff5b4e0f5f40579 [diff] |
Migrate to GitHub Actions (#42) * Migrate to GitHub Actions * Delete .travis.yml * Fix infos * Fix formatting * Update test-package.yml
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.