strong mode fixes (#11)

* strong mode fixes

* switch to Dart tasks on Travis

* Add analysis options

* make variables final that can be

* Fix some type issues
9 files changed
tree: b62cadfda6fb99df54edba3036ac04002f3819e5
  1. example/
  2. lib/
  3. test/
  4. .gitignore
  5. .status
  6. .travis.yml
  7. analysis_options.yaml
  8. AUTHORS
  9. CHANGELOG.md
  10. codereview.settings
  11. CONTRIBUTING.md
  12. LICENSE
  13. pubspec.yaml
  14. README.md
README.md

Build Status Coverage Status

Helps with isolates and isolate communication in Dart.

The package contains individual libraries with different purposes.

Creating send ports and responding to messages.

The “ports.dart” sub-library contains functionality for creating SendPorts and reacting to values sent to those ports.

Working with isolates and running functions in other isolates.

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.

A central registry for values that can be used across isolates.

The “registry.dart” sub-library provides a way to create an object registry, and give access to it across different isolates.

Balancing load across several isolates.

The “load_balancer.dart” sub-library can manage multiple Runner objects, including IsolateRunner, and run functions on the currently least loaded runner.

Features and bugs

Please file feature requests and bugs at the issue tracker.