p-hatan/ mirror

pub repository

mirror.p-hatan.ir

isolate

0.2.3

Utility functions and classes related to the 'dart:isolate' library.

This package is discontinued upstream.

Download archive

Readme

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.

Changelog

###0.2.3

  • Fixed strong mode analysis errors.
  • Migrated tests to package:test.

###0.2.2

  • Made Isolate.kill parameter priority a named parameter.

###0.2.1

  • Fixed spelling in a number of doc comments and the README.

###0.2.0

  • Renamed library isolaterunner.dart to isolate_runner.dart.
  • Renamed library loadbalancer.dart' to load_balancer.dart`.

###0.1.0

  • Initial version
  • Adds IsolateRunner as a helper around Isolate.
  • Adds single-message port helpers and a load balancer.

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.ir
flutter pub add isolate
pubspec.yaml
name: isolate
version: 0.2.3
author: Dart Team <misc@dartlang.org>
description: Utility functions and classes related to the 'dart:isolate' library.
homepage: https://github.com/dart-lang/isolate
environment:
  sdk: '>=1.11.0 <2.0.0'
dev_dependencies:
  test: '^0.12.0'

Version history

VersionPublishedArchiveSHA-256
0.1.02015-01-30T12:46:44.356570ZDownloada86145319fd8e3f80ba4308ed2762707d2213ebd00b12caccf4dcc99e8f1d2fc
0.1.12015-03-18T08:55:32.652540ZDownload75ffc1064debdd52ab57a5eafdcbf52f452ac25f6f4bbd7000a96b9d436a4a5e
0.2.02015-03-24T13:22:21.021450ZDownloadf8a9a44f501c6d9794602c78d2baf351c75f1eaa0d459fbad9f5cec6fdd34a75
0.2.22015-04-15T13:09:34.502920ZDownload020e5ca2439e8090c851b7548c3508a79f7c39dc25959714d4ba13664397b73c
0.2.32016-08-18T17:45:55.000ZDownloadc0bcb80331f99eaa21daccb8c3ab24d5e69b77ecfffdfa603b10466a0955a99c
1.0.02017-01-23T13:36:21.242ZDownload13fb6de9ceb77ace7b49e0a8e9df34de5df770e7bdceadcba607f1f8140a6f9c
1.1.02017-09-20T19:36:02.465425ZDownloada178ad90d375fe58759a4a0b2cd5dd6293f8c877670459984eb0a0909550934f
2.0.02018-03-23T12:35:29.966577ZDownloadd0d157bfe41a10baf8250785576d8b00cf170dd2ec537177ccd60656cfbea223
2.0.12018-05-25T13:52:50.530478ZDownload385eef32f3f6d582102eb49a52fda3b84043ee73595349a4f93659af8887a6bf
2.0.22018-07-20T07:55:36.935983ZDownload39721f62c5952dde83397dcc674db46deb2212a6bd7f77dea06657d23262c87e
2.0.32020-02-04T09:38:40.963007ZDownload8843de901083e874821ec272b79bbc618b2e2298c93d504e9a80f5637fea8b63
2.1.02021-06-09T15:44:05.240507ZDownload1e26dbb06e7631ebdc2d8761b7d8a234953d34f3d128638c5c93d5f12bb20c78
2.1.12021-06-16T08:56:33.951425ZDownload3554ab10fdeec965d27e0074c913ccb2229887633da080d2b35a6322da14938b

Dependencies

No direct dependencies declared.