Orleankka v2.7.0 Release Notes

Release Date: 2019-12-21 // over 2 years ago
  • ๐Ÿ†• New features

    • ๐Ÿšš Actor grain lifecycle message were made serializable and moved to Orleankka core, so now it's possible to activate/deactivate any actor externally. Extensions methods were created for ActorRef and you can simply do system.ActorOf<IMyActor>("foo").Activate(). Note: activation is idempotent.
    • Behaviors: Become message was extended with Become<TArg> so now you can pass additional arguments to behavior:

      behavior.Become(Failed, ex);Task<object> Failed(object message) { switch (message) { case Become<Exception> x: log.Error(x.Argument); break; } }