[doc] add the for a better flow (#28319)

This commit is contained in:
Robert Stoll 2019-12-06 16:42:48 +01:00 committed by Johan Andrén
parent d344aa5112
commit b706dbcbd3

View file

@ -306,7 +306,7 @@ Java
## Changing Behavior
After processing a message, actors are able to return the `Behavior` that is used
for next message.
for the next message.
As you can see in the above examples this is not supported by persistent actors. Instead, the state is
returned by `eventHandler`. The reason a new behavior can't be returned is that behavior is part of the actor's