Quantcast
Channel: Akka Libraries - Discussion Forum for Akka technologies
Viewing all articles
Browse latest Browse all 1365

When does a persisted actor receive the next command?

$
0
0

In Akka Typed, does a persisted actor receive a new Command before the Event has been processed, and the State updated? Or is the Event guaranteed to be processed before a new command is received from the actor’s inbox?

Edit: Another way of framing the question:

Do I have to design against check-then-act race conditions when reading state in the command handler, and then acting on it (based on the event) in the event handler?

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 1365

Trending Articles