In the previous section, we saw the usage of
coordinated transactions in untyped actors. Now, it is possible to have scenarios where one operation participates in a transaction if applicable; otherwise, it can perform independently of the transaction as well.
Akka transactors combine the Actor Model and STM to provide the best of both worlds, allowing you to write transactional, asynchronous, event-based message flow applications, and gives you composed ATOMIC, arbitrary, deep message flows.
For example, in the money transfer example, the debit/credit operations for the account can be used outside the client-initiated transactions. So when the user just withdraws money from his account or deposits money in the account, the update to the ...