PackageTrack
Sign in Get early access

typed_isolate

Easier and type-safe isolate usage with parent and child isolates

6.0.0 20K downloads/mo #2220 most downloaded on pub.dev Levi-Lesches/typed_isolate

What this package is like to depend on

Last release 2 years ago

no release in 18 months

Ships fairly regularly

a new release about every 3 months

Nearly every release is documented

notes for 8 of 8 stable releases

Nothing withdrawn

no release was ever pulled

3 years old

8 releases · first in 2023

0 releases in the last 12 months

see the full history below

Release timeline

8 releases · Oct 2023 to Nov 2024
2024 2025 2026
Release Pre-release

Releases

latest 8
  1. 6.0.0 14 Nov 2024
    Release notes
    • Breaking change: Made IsolateChild.onSpawn() a Future<void>. Messages will not be handled and onData will not be called until after onSpawn() finishes. If you need to run a lot of code on spawn, split it into two parts where one must be run before handling new messages, and one that can be handled later, then use await for the first and unawaited for the second.
    Open source →
  2. 5.0.0 14 Nov 2024
    Release notes
    • Added IsolateChild.stream
    • Added IsolateParent.stream
    • Added IsolateParent.hasChild()
    • Added IsolateParent.killChild()
    • Updated docs, example, and README
    • Fixed bug where IsolateParent.dispose() was not using the given priority parameter.

    Breaking changes

    • IsolateParent is no longer meant to be subclassed. Simply create one and call init on it as usual.
    • IsolateParent.send() has been renamed to sendToChild(), and IsolateChild.send() has bene renamed to sendToParent()
    • Removed IsolateParent.onData. Subscribe to IsolateParent.stream instead
    • Removed IsolateChild.init. Override IsolateChild.onSpawn instead.
    Open source →
  3. 4.0.0 12 May 2024
    Release notes
    • Breaking: Merged IsolateParent.stopListening() and IsolateParent.killAll() into IsolateParent.dispose()
    • New warning: Annotated IsolateParent.init() with @mustCallSuper
    Open source →
  4. 3.0.0 23 Jan 2024
    Release notes
    • Renamed IsolateParent.stop() to IsolateParent.stopListening() and added IsolateParent.killAll()
    Open source →
  5. 2.0.1 13 Nov 2023
    Release notes
    • Minor formatting fixes
    Open source →
  6. 2.0.0 13 Nov 2023
    Release notes

    Changed signature of IsolateParent.onData and IsolateParent.send to contain the IsolateChild.id

    Open source →
  7. 1.0.1 30 Oct 2023
    Release notes
    • Updated example with correct imports and lints.
    Open source →
  8. 1.0.0 29 Oct 2023
    Release notes
    • Initial version.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive