actors
Actors Model library for Dart. It is a thin wrapper around Dart's `Isolate` that makes them much easier to use.
0.11.0
renatoathaydes/actors
What this package is like to depend on
Last release 3 years ago
no release in 18 months
Ships fairly regularly
a new release about every 5 months
Nearly every release is documented
notes for 16 of 16 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
18 releases · first in 2019
0 releases in the last 12 months
see the full history below
Release timeline
18 releases · Feb 2019 to Oct 2023Releases
latest 18-
0.11.016 Oct 2023Release notes
Open source →- fixed handling of initialization errors. Introduced
ActorInitializationExceptionto represent such cases. - improved Actor initialization performance.
- fixed handling of initialization errors. Introduced
-
0.10.018 Sep 2023Release notes
Open source →- added
toSendabletoActorso that the Actor can be sent to another Actor via itsSendableobject. - added method
sendToAlltoActorGroup. - added
createnamed constructor toActorandActorGroupto allow initializingHandleronly on Isolate.
- added
-
0.9.021 May 2023Release notes
Open source →- require Dart SDK 3.0+.
- added
initmethod toHandlerto allow for the initialization of non-sendable state.
-
0.8.401 May 2022 -
0.8.301 May 2022 -
0.8.207 Jan 2022Release notes
Open source →- apply workaround to remove Dart bogus warning, see https://github.com/dart-lang/sdk/issues/48090.
-
0.8.106 Jan 2022 -
0.8.006 Jan 2022Release notes
Open source →- set debug name for
Isolatebacking anActor(starts withActor-0, thenActor-1and so on). - completed separation of
actorsAPI from actual implementation withIsolate. In the future, this may allow implementing actors with web workers.
- set debug name for
-
0.7.007 Mar 2021 -
0.7.0-nullsafety.121 Nov 2020 pre-releaseRelease notes
Open source →This version should only be used if you're migrating to Dart with null-safety.
- Allow Actors to send and return nullable types.
-
0.7.0-nullsafety.020 Nov 2020 pre-releaseRelease notes
Open source →This version should only be used if you're migrating to Dart with null-safety.
- Enabled null-safety.
-
0.6.117 Feb 2020 -
0.6.010 Aug 2019Release notes
Open source →- Stopped exposing Isolate from Actor. This should allow a web implementation in the future.
- Convert remote Error into a RemoteErrorException to be able to send it back to caller.
- Fixed close() method so that Actors actually drop all subscriptions and allow the system to die when all Actors are closed.
-
0.5.007 Aug 2019Release notes
Open source →- Created StreamActor to support Actors that return Streams.
- Removed AllHandleWithNAcks GroupStrategy.
- Created MultiHandler GroupStrategy, better implementation and more flexible than AllHandleWithNAcks.
- Allow external implementations of GroupStrategy to be used.
- Deprecated 'isolate' field in Actor. Will remove in the next version to allow web implementation.
-
0.4.004 Aug 2019Release notes
Open source →- Allow all Messenger subtypes to be created from a function.
- Added support for GroupStrategy, so ActorGroup can have different ways to send messages to actors.
- Created RoundRobinGroupStrategy.
- Created AllHandleWithNAcks.
- All Messenger sub-types are now closeable.
- Changed return type of Messenger.send from Future to FutureOr.
-
0.3.003 Mar 2019 -
0.2.027 Feb 2019 -
0.1.027 Feb 2019Release notes
Open source →- Initial version, created by Stagehand.
- Implemented basic functionaliy of an Actor.