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
Releases
latest 8-
6.0.014 Nov 2024Release notes
Open source →- Breaking change: Made
IsolateChild.onSpawn()aFuture<void>. Messages will not be handled andonDatawill not be called until afteronSpawn()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 useawaitfor the first andunawaitedfor the second.
- Breaking change: Made
-
5.0.014 Nov 2024Release notes
Open source →- 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 givenpriorityparameter.
Breaking changes
IsolateParentis no longer meant to be subclassed. Simply create one and calliniton it as usual.IsolateParent.send()has been renamed tosendToChild(), andIsolateChild.send()has bene renamed tosendToParent()- Removed
IsolateParent.onData. Subscribe toIsolateParent.streaminstead - Removed
IsolateChild.init. OverrideIsolateChild.onSpawninstead.
- Added
-
4.0.012 May 2024Release notes
Open source →- Breaking: Merged
IsolateParent.stopListening()andIsolateParent.killAll()intoIsolateParent.dispose() - New warning: Annotated
IsolateParent.init()with@mustCallSuper
- Breaking: Merged
-
3.0.023 Jan 2024Release notes
Open source →- Renamed
IsolateParent.stop()toIsolateParent.stopListening()and addedIsolateParent.killAll()
- Renamed
-
2.0.113 Nov 2023 -
2.0.013 Nov 2023Release notes
Open source →Changed signature of
IsolateParent.onDataandIsolateParent.sendto contain theIsolateChild.id -
1.0.130 Oct 2023 -
1.0.029 Oct 2023