Skip to content

KStateMachine v0.32.0

Choose a tag to compare

@nsk90 nsk90 released this 23 Oct 18:54
· 194 commits to master since this release

Add event recording mechanism implementation using Kotlinx.Serialization, allowing to serialize and restore state machines 馃捑.
The implementation is located in new separated artefact kstatemachine.serialization

Some DSL methods like addState, addInitialState etc became suspendable. This allows calling suspend functions in a moment of state machine creation if necessary, as all those DSL method has a trailing lambda as a last argument.

docs https://kstatemachine.github.io/kstatemachine/pages/persistence.html

Full Changelog: v0.31.1...v0.32.0