v0.1.0
Pre-release
Pre-release
This release contains a few incompatible modifications to the CommandHandler
structure:
- Rewritten
CommandHandler
to be a singleton. It now has ahandle
method that is invoked with the current state and command, returning aResults
asynchronously. This allows implementations to push async actions down into theHandler
class. TheResults
class contains most methods that previously were onCommandHandler
. handleCommand
andhandleCommandAsync
have been removed. Instead,CommandHandler
instances can now be chained, and the chained result must be passed as a constructor argument toAbstractStatefulPersistentActor
.