actor_system 0.5.0
actor_system: ^0.5.0 copied to clipboard
An implementation of the actor model in the Dart language. An actor processes only one message at a time, even if the processing is asynchronous.
Changelog #
0.5.0 #
- BREAKING CHANGE: renamed
ExternalActorCreatetoCreateActor. - BREAKING CHANGE: renamed
ExternalActorLookuptoLookupActor. - BREAKING CHANGE: renamed
ActorSyste.externalCreatetoActorSyste.externalCreateActor. - BREAKING CHANGE: renamed
ActorSyste.externalLookuptoActorSyste.externalLlookupActor. - Added
BaseContext.lookupActors()
0.4.0 #
- BREAKING CHANGE: moved cluster functionality to an separate package.
- BREAKING CHANGE: renamed library
actor_buildertoactor_system_helper. - BREAKING CHANGE: reaname class
WhenLikeActorBuildertoActorBuilder. - BREAKING CHANGE: class
ActorBuilderno longer has a methodactor(). UseorActor(),orSkip()ororThrow()instead. - BREAKING CHANGE: replaced
ActorSystem.registerFactory(Pattern, ActorFactory)byActorSystem.addActorFactory(PathMatcher, ActoryFactory). - It is now possible to stop an actor. This can be done by calling
ActorRef.shutdown()or sending the constantshutdownMsgto the actor. - An actor can now throw a
SkipMessagewhile executing a message. In contrast to all other exceptions thrown by an actor, the actor is not restarted. - Added
ActorContextExtensiononActorContextwith getterssenderOrSkip,replyToOrSkipandcorrelationIdOrSkip. Use these methods to get null safe versions ofsender,replyToandcorrelationId. If a value isnull, aSkipMessageis thrown.
0.3.0 #
- BREAKING CHANGE: removed parameter
useExistingActorfromBaseContext.createActor(). BaseContext.createActor()has a new parametersendInit. If set totrue, aninitMsgis sent after the actor is created.ActorRef.send()now has a new parametercorrelationId. An actor can read the correlation id from its context.WhenLikeActorBuilderhas new methodsisTrue()andisInit().
0.2.2 #
ActorRef.send()now has a new parametersender.
0.2.1 #
- Prefixed all logger names in library
actor_systemwithactor_system.system.and all logger names in libraryactor_clusterwithactor_system.cluster..
0.2.0 #
- Improved package score on pub.dev
- More useful version of README.md
- BREAKING CHANGE: Refactored
WhenLikeActorBuilder.equals(Object?, Actor)toWhenLikeActorBuilder.isEqual<T>(T, FutureOr<void> Function(ActorContext, T))
0.1.1 #
- Changed dependency from
msgpack_darttomsgpack_dart_with_webto support web
0.1.0 #
- Initial release