Update persistence.md (#29844)

Fix typo, although I'm in support of adding 'commandler' to the dictionary.
This commit is contained in:
Jesse 2020-11-30 02:30:21 -06:00 committed by GitHub
parent 485e21c9a8
commit ae22f114b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -345,7 +345,7 @@ Scala
Java
: @@snip [BlogPostEntity.java](/akka-persistence-typed/src/test/java/jdocs/akka/persistence/typed/BlogPostEntity.java) { #commands }
@java[The commandler handler to process each command is decided by the state class (or state predicate) that is
@java[The command handler to process each command is decided by the state class (or state predicate) that is
given to the `forStateType` of the `CommandHandlerBuilder` and the match cases in the builders.]
@scala[The command handler to process each command is decided by first looking at the state and then the command.
It typically becomes two levels of pattern matching, first on the state and then on the command.]