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;
}
}