actors 0.7.0
actors: ^0.7.0 copied to clipboard

Actors Model library for Dart. It is a thin wrapper around Dart's `Isolate` that makes them much easier to use.

0.7.0 #

  • Null-safety stable relese.

0.7.0-nullsafety.1 #

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.0 #

This version should only be used if you're migrating to Dart with null-safety.

  • Enabled null-safety.

0.6.1 #

  • Propagate stacktrace to caller on Exception inside an Actor.

0.6.0 #

  • 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.0 #

  • 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.0 #

  • 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.0 #

  • Added ActorGroup.
  • Added LocalMessenger.

0.2.0 #

  • Lighter message representation for smaller overhead.

0.1.0 #

  • Initial version, created by Stagehand.
  • Implemented basic functionaliy of an Actor.
14
likes
120
pub points
55%
popularity

Actors Model library for Dart. It is a thin wrapper around Dart's `Isolate` that makes them much easier to use.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

More

Packages that depend on actors