NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
pub.dev · #4276 most downloaded on pub.dev
Easier and type-safe isolate usage with parent and child isolates
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
One column per quarter.
Breaking change: Made IsolateChild.onSpawn() a Future . Messages will not be handled and onData will not be called until after onSpawn() finishes. If…
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.Added IsolateParent.killChild()
IsolateChild.streamIsolateParent.streamIsolateParent.hasChild()IsolateParent.killChild()IsolateParent.dispose() was not using the given priority parameter.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()IsolateParent.onData. Subscribe to IsolateParent.stream insteadIsolateChild.init. Override IsolateChild.onSpawn instead.Breaking: Merged IsolateParent.stopListening() and IsolateParent.killAll() into IsolateParent.dispose()
IsolateParent.stopListening() and IsolateParent.killAll() into IsolateParent.dispose()IsolateParent.init() with @mustCallSuperRenamed IsolateParent.stop() to IsolateParent.stopListening() and added IsolateParent.killAll()
IsolateParent.stop() to IsolateParent.stopListening() and added IsolateParent.killAll()- Minor formatting fixes
Changed signature of IsolateParent.onData and IsolateParent.send to contain the IsolateChild.id
Changed signature of IsolateParent.onData and IsolateParent.send to contain the IsolateChild.id
Updated example with correct imports and lints.
- Initial version.
Your coding agent can read these notes before it upgrades. Set up the MCP server →