I think fsm has something similar to recovery completed
lör 15 okt. 2016 kl. 11:34 skrev Jakub Liska :
> Yes, that's what I meant.
>
> Perfect, it would work in Persistent Actor... What about PersistentFSM ?
> I guess that I will have to introduce an initial FSMState where I would
> check whether
Yes, that's what I meant.
Perfect, it would work in Persistent Actor... What about PersistentFSM ?
I guess that I will have to introduce an initial FSMState where I would
check whether the persistent state is empty or it was recovered and act on
that.
Cool, thanks a lot Patrik !
On Saturda
I'm not sure I understand. You want to read the old data if the persistent
actor doesn't have any events of its own?
You can check the state when you get RecoveryCompleted. You can also count
the events/snapshot in receiveRecover and act on that when
RecoveryCompleted.
/Patrik
fre 14 okt. 2016 k