MonoidState uses Algebird Monoid to aggregate state
PersistentState is part of the transaction API
PersistentState is part of the transaction API
Users could get transaction support from the framework by conforming to PersistentState APIs and extending PersistentTask to manage the state
PersistentTask is part of the transaction API
PersistentTask is part of the transaction API
Users should extend this task if they want to get transaction support from the framework
MonoidState uses Algebird Monoid to aggregate state
on start, state value is initialized to monoid.zero on each new message, existing state value is aggregated with the incoming value using monoid.plus to get a new state value